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

WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

2093


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

2209


What is a rvalue?

1211


What are the application of c?

1104


What is wrong with this code?

1192


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

1021


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

2197


What is a char c?

1048


Write a program to swap two numbers without using third variable in c?

1141


Multiply an Integer Number by 2 Without Using Multiplication Operator

772


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

3330


How can I find the modification date and time of a file?

1087


When should volatile modifier be used?

1023


List the different types of c tokens?

1077


Is register a keyword in c?

1051