What is general format for a prototype?
What is public, protected, private in c++?
What are built-in functions? What is the syntax for the definition?
Differentiate between C and C++.
If I is an integer variable, which is faster ++i or i++?
In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.
Write a program to reverse a linked list?
8 Answers Catalytic Software, Satyam,
Why can templates only be implemented in the header file?
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
write the code that display the format just like 1 2 1 3 2 1 4 3 2 1 5 4 3 2 1 6 5 4 3 2 1
How a new element can be added or pushed in a stack?
What are static and dynamic type checking?
What is the difference between struct and class?