1.

If I Pass A Character To A Function Which Only Accepts An Int, What Will The Compiler Do? Will It Flag It As An Error?

Answer»

No. The compiler will PROMOTE the char to an INT and use the INTEGER representation in the function INSTEAD of the character itself.

No. The compiler will promote the char to an int and use the integer representation in the function instead of the character itself.



Discussion

No Comment Found