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 / crazzybouy
#include<stdio.h>
int main(){
int a[0];
printf("%d",sizeof(a));
}
~
Is This Answer Correct ? | 10 Yes | 11 No |
Post New Answer View All Answers
What should malloc() do?
Explain the properties of union.
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
Here is a good puzzle: how do you write a program which produces its own source code as output?
Is it better to use a macro or a function?
What is scope rule of function in c?
what is reason of your company position's in india no. 1.
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What are structure types in C?
What does c mean in standard form?
What does double pointer mean in c?
What are header files why are they important?
What is an auto variable in c?
Can you assign a different address to an array tag?
What does s c mean in text?