ASCII Characters

how do we out put the ASCII character of #33?

for example,

#33 is !

output is

33 !
std::cout <<(char)33<<std::endl;

OR

printf("%c\n",33);
Topic archived. No new replies allowed.