C Programming
3. Write a C program to input two no and print the sum without using third variable

void main()
{
int a,b;      // variable declaration
printf("Enter two nos.");     // message to enter no.
scanf("%d%d",&a,&b);    // store no in separate variable a and b
printf("Sum=%d",a+b);  // add variable and also print with message
getch();                          // waits untill any key is pressed.
}

Input:   10  15
Output:  Sum=25