C Programming Exercise | Program to Swap 2 Numbers Using a temp / third Variable

C Programming Exercise | Program to Swap 2 Numbers Using a temp / third Variable

LearningLad

9 лет назад

21,744 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Muhammad Abdullah
Muhammad Abdullah - 06.08.2023 19:59

The example helped a lot, Thanks!

Ответить
Mohammad Sami
Mohammad Sami - 12.03.2023 15:59

Thank u so much 🤗🤗🤗

Ответить
Halil mert Develi
Halil mert Develi - 27.12.2020 22:09

thank you it was greatı get ıt

Ответить
Ayu Jessie M
Ayu Jessie M - 05.11.2018 18:44

Thank you so much, this is such an understandable and simple explanation. Now i understand :) xoxo

Ответить
what
what - 25.07.2018 04:36

Thank you for that great explanation with examples which make me easier to understand.

Ответить
Amalia Andreea
Amalia Andreea - 18.03.2018 13:31

I had a lot of trouble visualizing this logic. Thank you very much for making it clear, sir!

Ответить
Harsha vardhan Upputuri
Harsha vardhan Upputuri - 09.08.2017 15:09

Sir y u don't reply to these tutorials u only replied to first tutorials nd now y u r not using conio.h y???????????

Ответить
Aidan Danielski
Aidan Danielski - 10.06.2017 02:39

In C++
template<typename T> inline void swap(T* x, T* y) { T z=*x; *x = *y; *y = z; }
or
template<typename T> inline void swap(T& x, T& y) { T z=x; x = y; y = z; }
It's also in the STL. I'm that 'tis annoyingly obvious.

Ответить
Ketan Parmar
Ketan Parmar - 09.04.2015 09:34

which terminal is it??

Ответить