+117

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]); } } 😋😋😋😋

12/30/2016 6:19:08 AM

Jenny Lance

73 Answers

New Answer

+32

Pretty dank way to state Happy New Year 2017

+13

happy new year

+10

Happy New Year 2017 That's the output Here the ascii values of those charecters are printed using %c(char) format specifier

+10

Happy New Year

+10

New year has passed almost a month... Happy New Year 2017 Happy Coding

+10

Happy new year! (over a month of delay) o.O https://code.sololearn.com/WAOZPremswKF/#

+8

Happy new year

+8

Did this in my head. Am conflicted by that.

+7

@Tristen well done !

+5

C was the first Programming Language came into the market 😎 Right ?? 😋

+3

Of course Happy New Year

+3

Output is: Happy New Year 2017

+3

SIMPLE and SWEET ASCII conversion! 😅

+3

happy new year, 👍 see my decoding code that's for binary in this case it's already ASCII codes of text

+3

damn good!! i am just beginner to c

+2

happy new year .............💃💃💃

+2

Output is: Happy New Year 2017

+2

Happy new year!!!

+2

Happy New Year

+2

Happy new year 2017