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


Please Help Members By Posting Answers For Below Questions

What should malloc() do?

645


Explain the properties of union.

611


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

1259


Here is a good puzzle: how do you write a program which produces its own source code as output?

599


Is it better to use a macro or a function?

657






What is scope rule of function in c?

552


what is reason of your company position's in india no. 1.

1777


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

667


What are structure types in C?

671


What does c mean in standard form?

599


What does double pointer mean in c?

584


What are header files why are they important?

582


What is an auto variable in c?

758


Can you assign a different address to an array tag?

702


What does s c mean in text?

615