When the sizeof() function is invoked on an array. What information does it return?

When the sizeof() function is invoked on an array. What information does it return? Correct Answer Number of elements in the array

The primary use of the sizeof() function is to return the length or size of an element that is given to it. So, if this element is an array which is a collection of elements, it will give the number of elements present inside the array.
Bissoy MCQ

Related Questions

What notation should we use for denoting the breadth of an array? ) b) sizeof() d) sizeof(a.0)
Determine Output:
#define int charvoid main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));}