how to swap two numbers without third variable | Variable Swapping
HTML-код
- Опубликовано: 18 сен 2024
- how to swap two numbers without third variable | Variable Swapping #interviewguide #php #laravel
how to swap two numbers without third variable
How to swap two numbers without using a temporary variable
Can we swap two numbers without using 3rd variable?
How do you swap two words without using the third variable?
क्या हम 3 वेरिएबल का उपयोग किए बिना दो नंबरों को स्वैप कर सकते हैं?
Swapping two variable value without using third variable
also multiple and devide and bitwise use the swep
Ya but not are the fast way of swapping
can we do like array($b,$a) = array($a,$b) , instead of list
Yes you can do this also , but this will reserve extra space