1.

What will the given code result in printf(“\n you are\”awesome \" ");?(a) compile error(b) run-time error(c) you are "awesome"(d) you are awesomeI have been asked this question in a job interview.This is a very interesting question from printf in portion Input and Output in C of C

Answer»

The correct option is (C) you are "awesome"

To explain I would say: The above given CODE uses \”\” to display the word within double INVERTED commas on standard output screen.



Discussion

No Comment Found

Related InterviewSolutions