Examveda

What will be the output of the following C code if the value of UCHAR_MAX is 127?
#include<stdio.h>
#include<limits.h>
int main()
{
    int d;
    d=CHAR_MAX;
    printf("%c",d);
}

A. Error

B. 127

C. Alphabet corresponding to the value 127

D. Junk value

Answer: Option D


This Question Belongs to C Program >> Standard Library Functions

Join The Discussion

Related Questions on Standard Library Functions