If the variable ‘i’ has been declared in global, then the address of 'i' will be in the data section. If it is a local or auto variable, then the address will be in stack.
Next, 'j' is a local variable. Thus the address will always be in stack. However the value of j, i.e. the pointer, should point to a location in heap. It is the address returned by new/malloc().
About our authors: Team EQA
You have viewed 1 page out of 248. Your C learning is 0.00% complete. Login to check your learning progress.
Questions index C Questions C++ Questions Win32 MFC COM/DCOM DLL Questions
Compilers & Editors
Download Visual Studio Download XCode Download Visual Studio Code Android studio install sdk Eclipse installer Best C compilers IDEs
Development system setup
Windows media creation tool MSDN subscription Ubuntu virtualbox
New updated posts
Why learn C? Draw on printer Free alt softwares