Standard Template Library (STL) Question:

How to get the sum of two integers?

Tweet Share WhatsApp

Answer:

#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);
}

Download Standard Template Library (STL) PDF Read All 16 Standard Template Library (STL) Questions
Previous QuestionNext Question
Tell me about c++?Why we are using the fork command and how it works?