+107

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

65 Answers

New Answer

+33

Pretty dank way to state Happy New Year 2017

+14

happy new year

+11

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

+9

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

+8

Happy new year

+8

Happy New Year

+7

Did this in my head. Am conflicted by that.

+6

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

+5

@Tristen well done !

+4

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

+4

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

+3

Output is: Happy New Year 2017

+3

Of course Happy New Year

+2

hi everybody

+2

damn good!! i am just beginner to c

+2

great idea😊

+2

Happy New Year 2017 👍

+2

do you like puzzles?😋

+2

Happy new year 2017

+2

SIMPLE and SWEET ASCII conversion! 😅