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

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

Which part of the program address space is p stored in the following C code? mcq and its answer is provided on this page.

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

Que. Which part of the program address space is p stored in the following C code?
a. Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!
b. Check this: C Books | Computer Science MCQs
c. #include int *p = NULL; int main() { int i = 0; p = &i; return 0; }
d. a) Code/text segment
e. b) Data segment
f. c) Bss segment
g. d) Stack
Answer: b
Explanation : None.


Comments