Top

Discussion

What will be the output of the program ?

#include

int main()
{
    char *str;
    str = "%d\n";
    str++;
    str++;
    printf(str-2, 300);
    return 0;
}

 

  • A.No output
  • B.30
  • C.3
  • D.300

Answer: D

No answer description available for this question.
 

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

Post your comment