Where are the different types of variables of a program stored in memory?
Where are the different types of variables of a program stored in memory?
Global initialized variables - Data segment
Global uninitialized variables - BSS segment
Local initialized variables - Stack
Local uninitialized variables - Stack?
What are the different types of homework questions (I've seen two so far).
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
What dose this BSS stands for ?
Dynamically allocate variables - heap?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.