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...

#include<stdio.h>
void main()
{
int a [5];
for (i=0; i<=4; i++)
printf(ā€œ%dā€ ,a[i]);
}

Answer Posted / kalyan chukka

Here it shows i is undefined Symbol.So if declare i as
integer then it prints some garbage value Because Array is
declared but elements are not inserted into the array.So
garbage value is printed on the console

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are pointers? Why are they used?

1180


Difference between macros and inline functions? Can a function be forced as inline?

1274


Do you know null pointer?

1026


What is main return c?

997


what is the function of pragma directive in c?

1121


What is the use of define in c?

1060


What is the use of getchar functions?

1183


What is wild pointer in c?

1073


What is use of #include in c?

1167


Explain the properties of union. What is the size of a union variable

1186


What is wild pointer in c with example?

1062


Is c is a middle level language?

1065


What is the significance of scope resolution operator?

1410


Explain how can I write functions that take a variable number of arguments?

1079


What is the difference between union and anonymous union?

1305