Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 extern keyword in c?

1082


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

2136


how do you programme Carrier Sense Multiple Access

1926


Explain what are compound statements?

994


Can the curly brackets { } be used to enclose a single line of code?

1120


What are loops in c?

953


plz let me know how to become a telecom protocol tester. thank you.

2140


Are pointers integer?

959


State the difference between realloc and free.

1032


What is the difference between constant pointer and constant variable?

1165


Is this program statement valid? INT = 10.50;

1083


Can you subtract pointers from each other? Why would you?

916


Explain what standard functions are available to manipulate strings?

1025


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

1130


Why isn't it being handled properly?

1001