0
What is the use of sizeof
Data_types
2 odpowiedzi
+ 1
It gives you the size of the datatype/variable. For example, it can be used to get the length of the array:
int[] arr = {1, 2, 3, 4, 5};
printf("%d", sizeof(arr) / sizeof(int));
0
Tq
Data_types