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


Please Help Members By Posting Answers For Below Questions

Explain what are bus errors, memory faults, and core dumps?

1035


How can I write functions that take a variable number of arguments?

860


Why does the call char scanf work?

896


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

806


What is the main difference between calloc () and malloc ()?

858


Why do we use null pointer?

800


code for find determinent of amatrix

1746


Is null a keyword in c?

941


What is #define?

803


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

935


Difference between exit() and _exit() function?

904


What do you mean by c?

801


What is c token?

840


Can two or more operators such as and be combined in a single line of program code?

1126


What is data structure in c programming?

824