+ 124
If you 😀 are still good with C language 😎, Decode the following code and guess the output of my code ? 😊
#include<stdio.h> void main() { int i; int b[]={72,97,112,112,121,32,78,101,119,32,89,101,97,114,32,50,48,49,55,'\0'}; for(i=0;b[i];i++) { printf("%c",b[i]); } } 😋😋😋😋
80 ответов
+ 36
Pretty dank way to state Happy New Year 2017
+ 15
New year has passed almost a month...
Happy New Year 2017
Happy Coding
+ 11
Happy new year! (over a month of delay) o.O
https://code.sololearn.com/WAOZPremswKF/#
+ 11
@Tristen well done !
+ 10
happy new year
+ 8
Happy New Year
+ 7
Happy New Year 2017
That's the output
Here the ascii values of those charecters are printed using %c(char) format specifier
+ 7
Did this in my head. Am conflicted by that.
+ 6
Happy new year
+ 5
C was the first Programming Language came into the market 😎
Right ?? 😋
+ 3
Output is: Happy New Year 2017
+ 3
hi everybody
+ 3
Happy new year 2017
it is so easy to understand
you wrote '\0'
if you write 0 instead of it in last
it will also work
+ 3
Jenny Lance is pretty.😊
+ 2
Of course
Happy New Year
+ 2
Output is: Happy New Year 2017
+ 2
SIMPLE and SWEET ASCII conversion! 😅
+ 2
happy new year, 👍
see my decoding code that's for binary in this case it's already ASCII codes of text
+ 2
damn good!! i am just beginner to c
+ 2
how ?