Hello ,,,
if i have an int variable named i=10 how can i display ...(with cout<<) the variable and its ASCII code ?
thanks alot
A ,Germany !
Last edited on
cout << i << endl;
cout << itoa(i) endl;
cout << i << char( i );
ASCII 10 is the newline character
Last edited on