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

Explain how can I pad a string to a known length?

1122


What is union and structure in c?

1146


How many parameters should a function have?

1125


What is pivot in c?

973


What are the 4 data types?

960


What is void main ()?

1009


program to convert a integer to string in c language'

2396


How do you do dynamic memory allocation in C applications?

1042


How can you avoid including a header more than once?

927


List some basic data types in c?

973


What is a program?

1183


Suggesting that there can be 62 seconds in a minute?

995


What is #pragma statements?

1051


Why clrscr is used in c?

952


What is the difference between new and malloc functions?

1051