STL (140)
OOPS (873)
C++ General (2409) Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
1409How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
947How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?
1001
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300
How does list r; differs from list r();?
Describe private, protected and public – the differences and give examples.
What is the difference between function overloading and operator overloading?
Why do we use setw in c++?
Is java made in c++?
Can an interface inherit a class?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is low level language in simple words?
What is multilevel inheritance?
What language does google use?
What is a map in c++?
What is abstraction in oops?
Write a program to interchange 2 variables without using the third one.
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL