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

clrscr()
should be after the declaration of variables

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of a conditional inclusion statement in C?

1115


Array is an lvalue or not?

1192


how to find anagram without using string functions using only loops in c programming

3241


Explain what does a function declared as pascal do differently?

1346


What is meant by initialization and how we initialize a variable?

1096


What is the use of linkage in c language?

1103


What are the types of type specifiers?

1098


Is c# a good language?

1061


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

1054


What is type qualifiers?

1191


What does %c do in c?

1053


Describe how arrays can be passed to a user defined function

1346


Ow can I insert or delete a line (or record) in the middle of a file?

1051


Why is c used in embedded systems?

1176


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

1248