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

Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1923


Explain about block scope in c?

1100


How are 16- and 32-bit numbers stored?

1297


Are there any problems with performing mathematical operations on different variable types?

1054


How can I manipulate individual bits?

1055


Why c is called free form language?

1034


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

2197


Do you know what are the properties of union in c?

1090


hi send me sample aptitude papers of cts?

2178


Which driver is a pure java driver

1633


What is time null in c?

1086


What is the difference between printf and scanf )?

1113


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

1213


What are pointers?

1128


Tell me about low level programming languages.

1147