Examveda
Examveda

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

A. Code/text segment

B. Data segment

C. Bss segment

D. Stack

Answer: Option B


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function