1.

Consider the following C++ statements and predict the output. int p=isalpha(‘5’); cout<<p;

Answer»

0. 

isalpha() – To check whether a character is an alphabet or not. If the character is an alphabet it returns a value 1 otherwise it returns 0.



Discussion

No Comment Found