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
What is calloc()?
What is build process in c?
Is that possible to add pointers to each other?
What is volatile keyword in c?
What are types of preprocessor in c?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
What does the file stdio.h contain?
What is use of null pointer in c?
What does *p++ do? What does it point to?
Explain the concept and use of type void.
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
What is the data segment that is followed by c?
What are the advantages and disadvantages of a heap?
How do you declare a variable that will hold string values?