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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / g.rajitha

#include<iostream.h>
void main()
{
int a,b;
if(cout<<"Please enter two numbers : ")
if(cin>>a>>b)
if(cout<<"Sum = "<<(a+b))
}

Is This Answer Correct ?    5 Yes 16 No

Post New Answer

More C Interview Questions

What is the difference between struct and union in C?

1 Answers  


What are the different types of pointers?

4 Answers   HCL, TCS,


Write a c program to build a heap method using Pointer to function and pointer to structure ?

0 Answers   Wipro,


What is C language Terminator?

15 Answers   TCS,


List the difference between a While & Do While loops?

0 Answers   Accenture,


How many loops are there in c?

0 Answers  


c program to manipulate x=1!+2!+3!+...+n! using recursion

1 Answers   TCS,


What should malloc(0) do?

0 Answers  


how to find sum of digits in C?

21 Answers   CTS, Infosys,


write a program to display all prime numbers

0 Answers  


Why is event driven programming or procedural programming, better within specific scenario?

0 Answers   Wipro,


What is the difference between fread and fwrite function?

0 Answers  


Categories