Program to swap two numbers | C | #shorts | CS Tutorials | C basics

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Can eliminate 3rd variable by using
a=a+b
b=a-b
a=a-b

abhishekpratap
Автор

Actually, we can just swap them like printf("a=%d, b=%d", b, a);
But this solution can be use only for simple question.

stevenfebrianto
Автор

Sir mene same to same kiya fir bhi error aa raha hau

karanvaghasiya
visit shbcf.ru