Cours
Se connecterCommencer Ă  apprendre l'IA
Cours
Se connecterCommencer Ă  apprendre l'IA
0

Explain the output of this code?

printf("%c\n",~('C' * -1));

cprintf
7th May 2019, 6:52 PM
Kanchi Sai Jyosthana
Kanchi Sai Jyosthana - avatar
2 Réponses
+ 6
~a = -a - 1 so ~('C' * -1) = 'C' - 1 = 'B' https://www.sololearn.com/learn/4076/?ref=app
7th May 2019, 7:10 PM
Mert Yazıcı
Mert Yazıcı - avatar

Vous avez souvent des questions comme celle-ci ?

Apprenez de maniĂšre plus efficace, gratuitement :

  • Introduction Ă  Python

    7.1M apprenants

  • Introduction Ă  Java

    4.7M apprenants

  • Introduction Ă  C

    1.5M apprenants

  • Introduction Ă  HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Is anyone else experiencing this Sololearn issue?
0 Votes
Best language?
0 Votes
How do I keep myself motivated in coding
0 Votes
Anyone have song names? Comment your favorites here for a project im working on
1 Votes
Bro can you fix yt error?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes
Bug in Completing AI Practice
0 Votes