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

What is the difference between fread and fwrite function?

1054


cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

1075


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

1120


Difference between linking and loading?

1079


Is c is a procedural language?

1056


what is the role you expect in software industry?

2112


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

3276


What is identifiers in c with examples?

1143


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2068


Write a program which returns the first non repetitive character in the string?

1076


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

1024


What is the equivalent code of the following statement in WHILE LOOP format?

1266


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

992


What is an auto variable in c?

1182


What is adt in c programming?

1122