Top

Discussion

Point out the error in the following program.

#include

int main()
{
    char str[] = "IndiaBIX";
    printf("%.#s %2s", str, str);
    return 0;
}

 

  • A.Error: in Array declaration
  • B.Error: printf statement
  • C.Error: unspecified character in printf
  • D.No error

Answer: D

No answer description available for this question.

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

Post your comment