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

when i declare as:
void main()
{
clrscr();
int a=10;
printf("%d",a)
}
my problem that why generate a error in above programs.
please tell me answer seriously .

Answer Posted / sandhiya.g

declaration should made before the clear screen statement

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

#include { printf("Hello"); } how compile time affects when we add additional header file .

1876


Why c is called a mid level programming language?

1056


What is a stream?

1120


What is a scope resolution operator in c?

1247


Write a program to print all permutations of a given string.

1184


What does node * mean?

1177


Explain what is the most efficient way to store flag values?

1214


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2229


Why is extern used in c?

1081


will u please send me the placement papers to my mail???????????????????

1823


Explain enumerated types in c language?

1027


code for quick sort?

2005


How are 16- and 32-bit numbers stored?

1278


Explain how can I remove the trailing spaces from a string?

1036


Explain what are the advantages and disadvantages of a heap?

1075