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 abstract class ? when is used in real time ? give a exp
What does sksksk mean in text slang?
What is polymorphism programming?
wht is ditch
Have you ever used threads?
What is friend function?
Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3
3 Answers Accenture, Cognizant, IBM,
can we make a class static without using static keyword?
What is destructor give example?
What is the default size allocated for array in the statement if size not specified " int a[] "
What is difference between inheritance and polymorphism?
what is data hiding.