Name an advantage of linked list over array?
Answers were Sorted based on User's Feedback
where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?
Difference between realloc() and free?
What is the highest level of cohesion?
oops concept is used for?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
what is a virtual class?
5 Answers Cap Gemini, IBM, Infosys, Trinity Technologies,
What are constructors in oop?
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 ?
Why do we need polymorphism in c#?
what is the 3 types of system development life cycle
What is polymorphism ? Explain with examples
Write on signed and unsigned integers and give three (3) examples each