+ 2

What is Output of this code...?

#include<stdio.h> int main() { printf("%c\\n", ~('C' * -1)); return 0; }

25th Feb 2018, 4:11 PM
Prajeet Kumar
Prajeet Kumar - avatar
2 Answers
+ 5
run the code on the "C" code playground
25th Feb 2018, 4:17 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 2
B\n You’re using double \\ so \n won’t be interpreted as newline!
25th Feb 2018, 4:21 PM
Sergiu Panaite
Sergiu Panaite - avatar