+ 2

What will be the output of the following code?

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

25th Feb 2019, 9:42 AM
Prasitha Raja
Prasitha Raja - avatar
4 Antworten
+ 3
It will basically print out the character you type in.
25th Feb 2019, 1:03 PM
Prajwal Anagani
Prajwal Anagani - avatar
+ 4
Error or null, As you have used %s which is string specifier and you are printing a character.
25th Feb 2019, 6:13 PM
#DARK_PROGRAMMER_✔
#DARK_PROGRAMMER_✔ - avatar
+ 3
//Here is a lesson that's help you with perfect output https://www.sololearn.com/learn/C/2914/
25th Feb 2019, 9:56 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
method “gets” reads your input. But it is strange that you have %s in printf, it should be %c for char
25th Feb 2019, 10:49 PM
M22 :D
M22 :D - avatar