Top

Discussion

What will be the output of the program ?

#include

int main()
{
    char str[] = "India\0BIX\0";
    printf("%d\n", sizeof(str));
    return 0;
}

 

  • A.10
  • B.6
  • C.5
  • D.11

Answer: D

No answer description available for this question.

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

Post your comment