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 / slowdeath

no, it is not possible to define a array with 0 element,
the compiler will show an error message that array must
contain atleast one element

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use a 'Local Block'?

717


Explain can static variables be declared in a header file?

676


How pointer is different from array?

573


What is the value of c?

567


What is a newline escape sequence?

665






How do you define structure?

563


What is the purpose of macro in C language?

659


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

610


What is the advantage of using #define to declare a constant?

616


What is output redirection?

687


Describe explain how arrays can be passed to a user defined function

599


What is the difference between if else and switchstatement

1310


Explain how can you avoid including a header more than once?

595


What is data type long in c?

621


What is keyword with example?

633