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 / jayakrishna

here array a is declared but it is not initialised,but int
the printf we are printing values of array a[], so it
displays garbage values & cannot directly write i as
variable we must specify its type.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's a good way to check for "close enough" floating-point equality?

1145


Is this program statement valid? INT = 10.50;

1131


Write a program to identify if a given binary tree is balanced or not.

1137


What are the salient features of c languages?

1085


Why structure is used in c?

1175


Who is the main contributor in designing the c language after dennis ritchie?

989


How many parameters should a function have?

1169


Why c language is called c?

997


Is there a way to jump out of a function or functions?

1082


What do you mean by a local block?

1072


What is header file definition?

1071


When is a null pointer used?

1097


write a program fibonacci series and palindrome program in c

1024


When a c file is executed there are many files that are automatically opened what are they files?

1088


What is quick sort in c?

1072