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 / khurshid alam

sorry brother your simple mistake following this

printf("%d",a); // here semicolon(;) must be

now run your program

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data type long in c?

1078


Between macros and functions,which is better to use and why?

2230


In which layer of the network datastructure format change is done

1891


What is difference between static and global variable in c?

1061


What is conio h in c?

1049


Why do we use null pointer?

1073


What is a string?

1124


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1237


What is array within structure?

1131


What does == mean in texting?

1312


What is the difference between exit() and _exit() function in c?

1079


What is nested structure?

1049


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2442


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2782


What is extern c used for?

1065