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 / avtar singh

no it is not possible to define array with size 0 as
compiler shows a compilation error of array must contain
atleast one element;

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a #include preprocessor?

1224


Why enum is used in c?

1017


Differentiate between a for loop and a while loop? What are it uses?

1239


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1268


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2886


What is the use of bit field?

1239


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

1327


How can I do serial ("comm") port I/O?

1217


How do you initialize pointer variables?

1153


How many levels of pointers can you have?

1251


What is the total generic pointer type?

1213


How can you read a directory in a C program?

1186


Explain zero based addressing.

1099


Compare interpreters and compilers.

1115


What is an array? What the different types of arrays in c?

1256