Top

Discussion

Point out the error in the following program.

#include

int main()
{
    fprintf("Compscibits");
    printf("%.ef", 2.0);
    return 0;
}

 

  • A.Error: unknown value in printf() statement
  • B.Error: in fprintf() statement
  • C.No error and prints "Compscibits"
  • D.No error and prints "2.0"

Answer: B

No answer description available for this question.

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

Post your comment