1.

Which part of the program address space is ptr stored in the following C code?
#include <stdio.h>
int *ptr = NULL;
int main()
{
int n = 0;
ptr = &n;
return 0;
}

A. 0
B. Code/text segment
C. Data segment
D. Bss segment
E. Stack
Answer» D. Bss segment


Discussion

No Comment Found

Related MCQs