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 / avtar singh

no it is not possible to define array with size 0 as
compiler shows a compilation error of array must contain
atleast one element;

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is #line in c?

564


What is a macro in c preprocessor?

632


Why is c so powerful?

687


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

783


Do you know what are bitwise shift operators in c programming?

588






What is c mainly used for?

599


What is the general form of #line preprocessor?

587


What is quick sort in c?

585


What does stand for?

598


Why static is used in c?

624


How can I manipulate strings of multibyte characters?

639


Combinations of fibanocci prime series

1114


What is wild pointer in c with example?

577


What are the three constants used in c?

547


which is conditional construct a) if statement b) switch statement c) while/for d) goto

740