Discussion :: Strings
-
Which of the following statements are correct about the program below?
#include
A.
The code converts a string in to an integer |
B.
The code converts lower case character to upper case |
C.
The code converts upper case character to lower case |
D.
Error in code |
Answer : Option B
Explanation :
This program converts the given string to upper case string.
Output:
Enter a string: FresherGate
FRESHERGATE
Be The First To Comment