+ 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
2 ответов
+ 1
printf("%d",(int)sizeof(arr)); try this.
20th Jan 2019, 6:38 PM
Ümit YAVUZ
Ümit YAVUZ - avatar