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

it gives compile time error because here the var i is not
declared .aIn c a var must be declared before is usage

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What Is The Difference Between Null And Void Pointer?

1155


Is c language still used?

932


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

2075


What are keywords in c with examples?

1036


Can you apply link and association interchangeably?

1070


Write a Program to find whether the given number or string is palindrome.

1224


Differentiate call by value and call by reference?

915


Implement bit Array in C.

1094


How to compare array with pointer in c?

1048


How can you be sure that a program follows the ANSI C standard?

1555


What is memory leak in c?

1057


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

1094


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

3003


What are nested functions in c?

974


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

1067