Add two number in c programming without third variable

 Add Tow numbe in c programming

function in c

start now

---------------------------------------------------------------------------

#include<stdio.h>     // header file

#include<conio.h> // header file

void main()  // main function

{

int a,b; //  integer variable

printf("enter two number");  // function of print value

scanf("%d%d",&a,&b);  // function to receive value by user


printf("%d",a+b); // function of print value

getch(); // function to show programme in screen 

}

---------------------------------------------------------------------------------------------------

Comments

Popular Posts