Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Wednesday, 30 June 2021

Interview Hack#33 Answer


What will be the output of the following program?

  1. c questions
  2. c (null)
  3. (null) (null)
  4. (null) questions
  5. None of above

Correct answer (null) (null) & None of above


Run time Error or (null) (null) output varies with compiler


Explanation:

We cannot assign any string constant in the null pointer by strcpy function.

0 comments:

Post a Comment