[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Input / Output - Discussion

Home > C Programming > Input / Output > MCQs Questions Discussion

5 / 6

What would be the output of the following C program if input to the program is 'e'?

#include <stdio.h>
void main ()
{
char lower, upper; 
lower = getchar(); 
upper= toupper (lower);
putchar (upper);
}

A53

Be

CE

DNothing

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here