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 a program flowchart and explain how does it help in writing a program?
Can you tell me how to check whether a linked list is circular?
I have a varargs function which accepts a float parameter?
What is an expression?
List the difference between a "copy constructor" and a "assignment operator"?
What is c language & why it is used?
Is there a way to compare two structure variables?
How to declare a variable?
Explain what is meant by high-order and low-order bytes?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
in iso what are the common technological language?
What are the main characteristics of c language describe the structure of ac program?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Explain how do you print an address?
What is the purpose of realloc()?