TOPUPchat logo...
Forgot password?

Select : C language | Java

Q.1] what doeshappen? when we go beyond the limits of char data type in c language?

#include
int main(){

char c=125;

c=c+10;

printf("%d",c);
return 0;
}
    

Options]

A) 135
B) +INF
C) -121
D) -8
E) Compiler error        

Click to See Answer
C) -121    

Next | String as parameter of switch case



Hemen Ashodia [paper setter]
Register & recharge
Male Female
I agree Terms and Conditions