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
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
When should the register modifier be used? Does it really help?
Explain how can a program be made to print the line number where an error occurs?
How can I implement sets or arrays of bits?
Do you have any idea how to compare array with pointer in c?
differentiate built-in functions and user – defined functions.
What is atoi and atof in c?
What are the types of type qualifiers in c?
How can I convert a number to a string?
How are strings stored in c?
What is the difference between a free-standing and a hosted environment?
What is a program flowchart?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
How will you find a duplicate number in a array without negating the nos ?
How can I rethow can I return a sequence of random numbers which dont repeat at all?