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

Комментарии • 4

  • @nikunjvagadiya8765
    @nikunjvagadiya8765 3 месяца назад

    also multiple and devide and bitwise use the swep

  • @gkmotivationshorts
    @gkmotivationshorts 3 месяца назад +1

    can we do like array($b,$a) = array($a,$b) , instead of list

    • @thedeveloperschool
      @thedeveloperschool  3 месяца назад

      Yes you can do this also , but this will reserve extra space