Basic CS [3i Infotech Placement]: Sample Questions 208 - 209 of 243
Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.
Question 208
Explanation
- Auto variable are stored in memory and their default value is a garbage value. Compare them with register variables below.
Register Variables
- Register variables are meant to be stored in processor registers.
- It may or get the place in a register depending upon whether there are sufficient registers available. Microprocessors have 14 to 16 registers and might already be occupied.
- Registers are 16 bit so these statements should be avoided: register float i , register double j. The compiler wont show any error and will take them as auto.
Question 209
Explanation
Stack | Queue |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|