A

Admin • 833K Points
Coach

Q. Which part of the program address space is p stored in the following C code?

Code:
#include <stdio.h>
int *p;
int main()
{
int i = 0;
p = &i;
return 0;
}
  • (A) Code/text segment
  • (B) Data segment
  • (C) Bss segment
  • (D) Stack
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.