When you define a integer it gets stored in which data
structure?(Stack or a heap)
Answers were Sorted based on User's Feedback
Answer / 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 |
What is difference between pop and oop?
What is polymorphism oop?
Why do we use inheritance?
why reinterpret cast is considered dangerous?
What is data binding?
What are the important components of cohesion?
What is overriding in oop?
What do you mean by public, private, protected and friendly?
Which keyword is written to use a variable declared in one class in the other class?
What is abstraction in oops?
Can we create object of interface?
What is the difference between Home and $Home?