Top

Discussion

Assume that size of an integer is 32 bit. What is the output of following program?

#include
struct st
{
    int x;
    static int y;
};
 
int main()
{
    printf("%d", sizeof(struct st));
    return 0;
}

 

  • A.4
  • B.8
  • C.Compiler Error
  • D.Runtime Error

Answer: C

No answer description available for this question.

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

Post your comment