Strings - Point Out Correct Statements :: Discussion


1.Which of the following statements are correct about the program below?
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: pakmcqs

PAKMCQS

Tutorial Link:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers