how to get the sum of two integers?

Answer Posted / lucky varshney

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int i,j,sum;
printf("enter two numbers");
scanf("%d%d",&i,&j);
sum=i+j;
printf("sum=%d",sum);
}

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stl in c++ with example?

732


sir please send me bpcl previous question papers

2045


Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister

1743


What is stl in oop?

810


What is a list in c++ stl?

784






please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

1867


What are the various types of stl containers?

832


Why should a c++ programmer be interested in stl?

725


What two types of containers does the stl provide?

656


help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase

1985


Is string part of stl?

783


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

2962


How do I convert a stl file?

646


Can we use stl in coding interviews?

1391


what is template and type convertion

2094