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 the benefit of oop?
When is it necessary to use member-wise initialization list in C++?
What is a template?
What is the outcome of the line of code "cout<<abs(- 16.5);"? 1) 16 2) 17 3) 16.5
How do you achieve runtime polymorphism?
what is the application of oops?
In multiple inheritance , to create sub class object , is there need to create objects for its superclasses??? in java and c++ both. Actually i have some information that is , all available members from its superclasses , memory created in subclass obj , so no need to create object for its superclasses...??? Thanks in Advance
What is constructor in oop?
What is abstraction and encapsulation?
Write A Program using Single and Multiple Inheritance.
What is an object?
The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?