Top

Discussion

What will be the output of the program in 16-bit platform (Turbo C under DOS) ?

#include

int main()
{
    printf("%d, %d, %d", sizeof(3.0f), sizeof('3'), sizeof(3.0));
    return 0;
}

 

  • A.8, 1, 4
  • B.4, 2, 8
  • C.4, 2, 4
  • D.10, 3, 4

Answer: B

No answer description available for this question.

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

Post your comment