Курсы
ВойтиНачать изучение ИИ
Курсы
ВойтиНачать изучение ИИ
+ 5

can we have better code for swapping two no from this?

https://code.sololearn.com/ca30UB41XtIj/?ref=app

cprogramcompitativeprogramming
2nd Feb 2018, 1:09 PM
Harsh Namdev
Harsh Namdev - avatar
2 ответов
+ 9
very interestring way, i didn't see it before 👍 😃
2nd Feb 2018, 1:37 PM
Vukan
Vukan - avatar
+ 2
maybe😉 int temp=b; b=a; a=temp;
2nd Feb 2018, 1:40 PM
Kuba H
Kuba H - avatar

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
4 Votes
Guys I don't know anything about cooding who can help me pls
1 Votes
Why can’t I use double “ in python?
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
You’re free to give me your advice! 🚨
1 Votes
Salut tout le monde
1 Votes
How can i isntall modules
1 Votes