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

what is a function method?give example?

1914


Why is sizeof () an operator and not a function?

590


What is the process to create increment and decrement stamen in c?

588


What does %d do in c?

547


a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

4545






Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

2519


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1525


What are logical errors and how does it differ from syntax errors?

661


What is the difference between constant pointer and constant variable?

749


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1467


What is the difference between arrays and pointers?

637


Why can't I perform arithmetic on a void* pointer?

639


Is r written in c?

725


What are the types of unary operators?

662


What is unsigned int in c?

560