What is printend by the following program frangment? ( In both cases, ch is of type char.) ch = 'F' ; cout << ch << ' ' << int(ch); // Assume ASCII
Why dont you try and run the program and see what is the output and share with us. Also from the post above you have also posted the answer to your query. Just see where is the answer.
You can try out the online C++ Compiler as well to see the results. It should print the value of the character as F and then the ASCII of F i.e. 70