TOPUPchat logo...
Forgot password?

Select : C language | Java

Q.3] using x++ mulipletimes in C language in single expression

#include
int main()
{
int x=3,z;
z=x++ + ++x + x++ + ++x;
printf(" %d",z);
getch();

}
    

Options]

A) 17
B) 20
C)19
D) Compiletime Error        

Click to See Answer
A) 17    

Next | operation of switch case without break keyword

Previous | String as parameter of switch case

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