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
What are compound statements?
What is the purpose of void pointer?
What are identifiers in c?
What is meant by inheritance?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
Can we initialize extern variable in c?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
What will the preprocessor do for a program?
What is the use of the function in c?
Is array a primitive data type in c?
Write a program to check palindrome number in c programming?
Does sprintf put null character?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
What is putchar() function?
What is a program flowchart?