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

how to write a program which adds two numbers without using
semicolon in c

Answer Posted / g.rajitha

void main()
{
int a,b;
if(printf("Enter two numbers"))
if(scanf("%d %d",&a,&b))
if(printf("%d",(a+b)))
}

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we increase size of array in c?

928


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3648


swap 2 numbers without using third variable?

1089


Explain how can I prevent another program from modifying part of a file that I am modifying?

1046


Explain main function in c?

1052


Without Computer networks, Computers will be half the use. Comment.

2261


What is the code for 3 questions and answer check in VisualBasic.Net?

2118


Where are some collections of useful code fragments and examples?

1118


How do you list files in a directory?

1090


Explain how do you view the path?

1102


how can I convert a string to a number?

1042


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

1457


what is recursion in C

1030


What are the Advantages of using macro

1127


What is extern storage class in c?

954