• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
0

Why we got -3 in it please explain this code

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

increment
26th Aug 2021, 10:21 AM
vipasha choudhary
vipasha choudhary - avatar
2 odpowiedzi
+ 1
a = -5 a++ is -5 and a = -4 ++a is -3 and a = -3 k = (-4, -3) = -3 https://www.tutorialspoint.com/cplusplus/cpp_increment_decrement_operators.htm
26th Aug 2021, 10:37 AM
Obloev Komronbek
Obloev Komronbek - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
My codebits section is full of deleted codes
13 Votes
Ai generated practices
2 Votes
I have an error in a problem and I don't know what the correct answer is
1 Votes
Solving coding challenges
0 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
How can i insert files?
1 Votes
Advertising in Sololearn
0 Votes
Hi who can hel me please
0 Votes
Changing String Variables into int in C++
0 Votes