What are the five basic elements of a c++ program?
No Answer is Posted For this Question
Be the First to Post Answer
What are the advantages of prototyping?
What is &x in c++?
Difference between struct and class in terms of access modifier.
Write a String class which has: 1) default constructor 2) copy constructor 3) destructor 4) equality operator similar to strcmp 5) constructor which takes a character array parameter 6) stream << operator
2 Answers HCL, Lehman Brothers, Zoomerang,
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
What is the use of typedef?
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
Define macro.
State the difference between pre and post increment/decrement operations.
Where and why do I have to put the "template" and "typename" keywords?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
What is the basic of c++?