Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



C++ Interview Questions
Questions Answers Views Company eMail

How come you find out if a linked-list is a cycle or not?

1037

Explain how to initialize a const data member.

1138

Do we have to use initialization list in spite of the assignment in constructors?

1007

Why use of template is better than a base class?

1188

Explain public, protected, private in c++?

1020

What is the advantage of an external iterator.

1049

Explain the uses oof nested class?

1141

Differentiate between a copy constructor and an overloaded assignment operator.

1087

How would you differentiate between a pre and post increment operators while overloading?

1149

Differentiate between declaration and definition.

1052

Define the operators that can be used with a pointer.

1061

What is the stl, standard template library?

1094

What are dynamic type checking?

1045

What is a virtual destructor? Explain the use of it?

993

What are static and dynamic type checking?

1088


Un-Answered Questions { C++ }

What is the use of seekg in c++?

1061


This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

2126


What is protected inheritance?

1049


How long it will take to learn c++?

1047


What is nested class in c++?

964


How to allocate memory dynamically for a reference?

1049


Explain what is class definition in c++ ?

1127


A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.

2174


Why ctype h is used in c++?

963


Explain the benefits of proper inheritance.

1151


What does and I oop and sksksk mean?

1162


Why do we need runtime polymorphism in c++?

1026


Can non-public members of another instance of the class be retrieved by the method of the same class?

1082


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

2000


How does code-bloating occur in c++?

1205