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 |
In which Scenario you will go for Interface or Abstract Class?
1 Answers InfoAxon Technologies,
What is destructor give example?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
Write an operator overloading program to write S3+=S2.
Why oops is important?
Name a typical usage of polymorphism
What is a template?
What are the benefits of polymorphism?
Can private class be inherited?
How to call a non virtual function in the derived class by using base class pointer
What is class and object in oops?
when my application exe is running nad i don't want to create another exe what should i do