IS it possible to define a zero sized array in c.if it is
possible how can the elements of that array can be
accessed.array index starts from zero,if it is possible to
define zero sized array how can be its first element can be
accesseed.
Answer Posted / crazzybouy
#include<stdio.h>
int main(){
int a[0];
printf("%d",sizeof(a));
}
~
Is This Answer Correct ? | 10 Yes | 11 No |
Post New Answer View All Answers
Explain what are bus errors, memory faults, and core dumps?
How can I write functions that take a variable number of arguments?
Why does the call char scanf work?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What is the main difference between calloc () and malloc ()?
Why do we use null pointer?
code for find determinent of amatrix
Is null a keyword in c?
What is #define?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
Difference between exit() and _exit() function?
What do you mean by c?
What is c token?
Can two or more operators such as and be combined in a single line of program code?
What is data structure in c programming?