When you define a integer it gets stored in which data
structure?(Stack or a heap)
Answer Posted / shyam
Depends on where the integer is declared. If it s declared in a block it goes into stack.
If it s an static or global variable, it will not be stored in stack. It ll be stored in data segment of the running program.
Integer will never be stored in heap... never...
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the real life example of polymorphism?
What is inheritance and how many types of inheritance?
What is inheritance in oop?
How do you use inheritance in unity?
What do you mean by abstraction?
What is new keyword in oops?
What is the important feature of inheritance?
What is and I oop mean?
What is polymorphism programming?
What is persistence in oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is balance factor? What is a null tree? What is abstraction in oops? what is graphics