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 are terms in math?

990


the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset

1059


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

2445


What is difference between union All statement and Union?

1066


how do you execute a c program in unix.

1083


What is the difference between the expression “++a” and “a++”?

1182


What will be the outcome of the following conditional statement if the value of variable s is 10?

1242


How can I determine whether a machines byte order is big-endian or little-endian?

1016


What is structure in c explain with example?

1107


I came across some code that puts a (void) cast before each call to printf. Why?

1164


Where define directive used?

1039


How many types of arrays are there in c?

1008


can we have joblib in a proc ?

2243


Explain how do you use a pointer to a function?

1064


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2140