Why here is the size of arr 100? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 6

Why here is the size of arr 100?

#include <stdio.h> int main() { int arr[25]; printf("%i", sizeof (arr)); return 0; }

20th Jan 2019, 6:33 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
1 Resposta
+ 1
printf("%d",(int)sizeof(arr)); try this.
20th Jan 2019, 6:38 PM
Ɯmit YAVUZ
Ɯmit YAVUZ - avatar