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 are compound statements?

1238


What is time null in c?

1107


What is the difference between struct and typedef struct in c?

1169


How can you allocate arrays or structures bigger than 64K?

1200


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1853


how many errors in c explain deply

2136


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1431


where are auto variables stored? What are the characteristics of an auto variable?

1101


Tell us the use of fflush() function in c language?

1201


Explain indirection?

1179


Why clrscr is used after variable declaration?

1762


With the help of using classes, write a program to add two numbers.

1077


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

1216


How can I open a file so that other programs can update it at the same time?

1238


What does malloc () calloc () realloc () free () do?

1103