in Programming
168 views
0 votes
0 votes

https://gateoverflow.in/204076/gate2018-2

Why the answer is A,Why not D?

in Programming
by
168 views

4 Comments

how the code should be changed

printf(" '%c', '%c'", *((char*)q+1), *((char*)q+2));

 

1
1
@himgta I don't know why do you want this output, By the way
 printf("\'%c\', \'%c\'",
Will print your desired output
1
1
got it...thanks!
0
0

Please log in or register to answer this question.

Related questions