Top

Discussion

What will be the output of the program?

#include

int main()
{
    int i;
    i = printf("How r u\n");
    i = printf("%d\n", i);
    printf("%d\n", i);
    return 0;
}

 

  • A.How r u 7 2
  • B.How r u 8 2
  • C.How r u 1 1
  • D.Error: cannot assign printf to variable

Answer: B

No answer description available for this question.

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

Post your comment