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

Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1035


When should the register modifier be used? Does it really help?

920


Explain how can a program be made to print the line number where an error occurs?

1148


How can I implement sets or arrays of bits?

988


Do you have any idea how to compare array with pointer in c?

991


differentiate built-in functions and user – defined functions.

1039


What is atoi and atof in c?

1028


What are the types of type qualifiers in c?

1032


How can I convert a number to a string?

1095


How are strings stored in c?

973


What is the difference between a free-standing and a hosted environment?

1097


What is a program flowchart?

1125


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

2121


How will you find a duplicate number in a array without negating the nos ?

2082


How can I rethow can I return a sequence of random numbers which dont repeat at all?

1147