Refer to a name of class or function that is defined within a namespace?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
#include<iostream.h> void main() { class x { public: int func(int) { cout<<"cool"; return 1; } } }
Differentiate between late binding and early binding. What are the advantages of early binding?
You have to take 2 arrays of length 10. Input the values of array 1 from the user. Then copy the values of array 1 to array 2 in ascending order For example if user enters 9, 5, 6, 8, 1, 0, 2, 7, 4, 3 then copy the smallest element i.e. 0 first followed by 1, 2 and so
Where Malloc(), Calloc(), and realloc() does get memory?
What do the header files usually contains?
Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
What is the best c++ compiler for windows 10?
What happens if an exception is throws from an, object's constructor and object's destructor?
What is the purpose of the "delete" operator?
What kind of jobs can I get with c++?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?