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 cohesion in oop?
What do you mean by overloading?
what is graphics
What is protected in oop?
What is a class oop?
can we create and enter the data & hide files using programmes ?
What is multilevel inheritance?
why the argument is passed by reference to a copy constructor?example?
Program to check whether a word is the first word of the sentence.
What is polymorphism in oops?
What is overloading in oop?
what is polymorpsim? what are its types?