Consider the following program, where are i, j and k are stored in memory?
#include stdio.h
#include stdlib.h
int i;
int main()
{
int j;
int *k = (int *) malloc (sizeof(int));
}

Posted on by