Thursday, October 22, 2009

Computers internal code?

will the following code print out the computers internal code for the character '7'?



char Ch;



Ch = '7';



printf(%d\n", Ch);



Thanks for any help



Computers internal code?security



Yes, however, you can simply say:



printf("%d\n", '7') without usage of the variable.

No comments:

Post a Comment