Question
#include<stdio.h>#define CUBE(x) (x*x*x)
int main()
{
int arr[] = {12, 13, 14, 15, 16};
printf("%d, %d, %d\n", sizeof(arr), sizeof(*arr), sizeof(arr[0]));
return 0;
}
If the size of integer is 4bytes, What will be the output of the program?
#include<stdio.h>#define CUBE(x) (x*x*x)
int main()
{
int arr[] = {12, 13, 14, 15, 16};
printf("%d, %d, %d\n", sizeof(arr), sizeof(*arr), sizeof(arr[0]));
return 0;
}
Answer: Option B
Was this answer helpful ?
No answer description available for this question.
Was this answer helpful ?
Submit Solution