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


#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a=0,b=0,c=0;
printf("enter value of a,b");
scanf("
%d %d",a,b);
c=a+b;
printf("sum is %d",c);
getch();
}

Answers were Sorted based on User's Feedback



#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; print..

Answer / abhishek

enter value of a,b
10
10
sum is 20

Is This Answer Correct ?    2 Yes 0 No

#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; print..

Answer / hitesh kumar

enter value of a,b
10
10
sum is 0

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More C Interview Questions

Explain the difference between structs and unions in c?

0 Answers  


Why isn't any of this standardized in c? Any real program has to do some of these things.

0 Answers  


What is difference between union All statement and Union?

0 Answers  


Write a program in c using only loops to print * * * * * *******

2 Answers   IBM,


If errno contains a nonzero number, is there an error?

0 Answers  


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

0 Answers   TCS,


Can two or more operators such as and be combined in a single line of program code?

0 Answers  


What are the __date__ and __time__ preprocessor commands?

0 Answers  


Can a pointer be static?

0 Answers  


How do you construct an increment statement or decrement statement in C?

0 Answers  


What is identifier in c?

0 Answers  


What is return in c programming?

0 Answers  


Categories