0 votes 0 votes https://gateoverflow.in/204076/gate2018-2 Why the answer is A,Why not D? Programming in C usergate2018 usermod + – himgta asked Sep 4, 2018 himgta 407 views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Shaik Masthan commented Sep 4, 2018 reply Follow Share how the code should be changed printf(" '%c', '%c'", *((char*)q+1), *((char*)q+2)); 1 votes 1 votes Rishav Kumar Singh commented Sep 4, 2018 reply Follow Share @himgta I don't know why do you want this output, By the way printf("\'%c\', \'%c\'", Will print your desired output 1 votes 1 votes himgta commented Sep 4, 2018 reply Follow Share got it...thanks! 0 votes 0 votes Please log in or register to add a comment.