Top

Discussion

What will be the output of the program ?

#include

int main()
{
    char *str;
    str = "%s";
    printf(str, "K\n");
    return 0;
}

 

  • A.Error
  • B.No output
  • C.K
  • D.%s

Answer: C

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment