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 is sizeof array in c?

819


When should you use a type cast?

851


What is time complexity c?

787


What are two dimensional arrays alternatively called as?

975


write a program in c language to print your bio-data on the screen by using functions.

6579


What is c token?

867


How are Structure passing and returning implemented by the complier?

968


Define recursion in c.

982


Write a program to identify if a given binary tree is balanced or not.

955


Do you know what are the properties of union in c?

839


What are runtime error?

901


How many types of operators are there in c?

847


For what purpose null pointer used?

847


What does emoji p mean?

827


What is null character in c?

918