TOPUPchat logo...
Forgot password?

Select : C language | Java

Q.12] passing "%f %s"+4 in printf

void main(){
int a=5;
printf(ā€œ%f %sā€+4,a);
}


    

Options]

A) 5.0000 garbage
B) 6.0000 garbage
C) runtime error
D) s        

Click to See Answer
D) s    

Next | Assigning value to variable using comma operator

Previous | printing value of pointer to pointer variables

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