TOPUPchat logo...
Forgot password?

Select : C language | Java

Q.8] For given compiler sizeof(int)=4 (like “dev c++” compiler)

void main()
{
    int *x;
    x=1450;
    printf("%u %u",x++,++x);
   

getch();
}
    

Options]

A) 1458 1454
B) 1454 1454
C) cannot assign value to pointer
D) 1450 1450        

Click to See Answer
B) 1454 1454    

Next | Assigning auto variable to static variable

Previous | not specifying variables in printf as argument and no argument in printf

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