Sunday, August 15, 2010

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