Top

Discussion

What will be the output of the program?

#include
int main()
{
    char str[]="C-program";
    int a = 5;
    printf(a >10?"Ps\n":"%s\n", str);
    return 0;
}

 

  • A.C-program
  • B.Ps
  • C.Error
  • D.None of above

Answer: A

No answer description available for this question.
 

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

Post your comment