Top

Discussion

What will be the output of the program ?

#include

int main()
{
    char str[25] = "IndiaBIX";
    printf("%s\n", &str+2);
    return 0;
}

 

  • A.Garbage value
  • B.Error
  • C.No output
  • D.diaBIX

Answer: A

No answer description available for this question.

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

Post your comment