C Program to swap two numbers without third variable

preview_player
Показать описание
#include"stdio.h"
#include"conio.h"
void main()
{
int a,b;
clrscr();
printf("\nEnter value for a: ");
scanf("%d",&a);
printf("Enter value for b: ");
scanf("%d",&b);
a=a+b;
b=a-b;
a=a-b;
printf("\na= %d\nb= %d",a,b);
getch();
}

Thanks for watching
----------------------------------
Like this video
----------------------------------
Subscribe this channel
-----------------------------------
All are welcome to our channel...... Be best.......
Learn coding with fun🙂🙂
Peace ♥️♥️

birthday songs
data professor
365 days scene reaction
aaj din chadheya status
aman dhattarwal shorts
ant man and the wasp quantumania
C++ programming in tamil
circus full movie hindi
covid china
dua lipa balam thanedar
erika
gande video
ganesha
happy new year 2023 status
jesus christ shorts
midjourney ui
motivation bgm tamil
oh my ghost review
pooja hegde hot
ram setu reviews
ramana bhanu song
tamil songs
videos para niños de 7 años
Рекомендации по теме
Комментарии
Автор

#include<stdio.h>
#include<conio.h>
void main()
{
int a, b;
clrscr();
printf("\nEnter value for a: ");
scanf("%d", &a);
printf("Enter value for b: ");
scanf("%d", &b);
a=a+b;
b=a-b;
a=a-b;
printf("\na= %d\nb= %d", a, b);
getch();
}


srakcoding
welcome to shbcf.ru