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 an object?
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.
some one give d clear explanation for polymorphism
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.
What is difference between inheritance and polymorphism?
What is advantage of inheritance?
Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?
what is overloading and overriding?
How would you stop a class from class from being derived or inherited.
what type of question are asked in thoughtworks pair programming round ?
pointers are support in C#? if yes then how to use it?
8 Answers Softvision Solution,