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 kind of structure is a house?

1031


Place the #include statement must be written in the program?

1019


number of times a digit is present in a number

2025


How can I recover the file name given an open stream or file descriptor?

1070


How can I find the modification date of a file?

1264


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1140


What is advantage of pointer in c?

1169


How can a string be converted to a number?

1004


Where define directive used?

1081


What is meant by preprocessor in c?

995


When should a type cast not be used?

1047


Explain what are global variables and explain how do you declare them?

1148


Compare array data type to pointer data type

1007


What are comments and how do you insert it in a C program?

1232


What is p in text message?

968