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

what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....

6 11775

what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use

HCL,

2 7264

What will happen when the following code is run: int x; while(x<100) { cout< 7 10039


In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that

6 15275

What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required

ISTS, Wipro,

15 24647

What is the output of the following code: int v() { int m=0; return m++; } int main() { cout< 4 9317


What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass

Wipro,

6 15206

What is the outcome of the line of code "cout<

TCS,

16 23509

What is Iteration Hierarchy? What is what is Object behavioral concept?

1 5727

Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.

GE, Infosys, Microsoft, NIM,

2858

Find the second maximum in an array?

HCL,

12 26353

"How will you merge these two arrays? Write the program Array: A 1 18 22 43 Array: B 3 4 6 20 34 46 55 Output Array: C 1 3 4 6 18 20 22 34 43 46 55"

College School Exams Tests, HCL,

9 24599

what is the function of 'this' operator ?

Wipro,

7 28489

tell about copy constructor

Siemens,

3 8261

if u write a class do u write Assignment operator and copy constructor

Siemens,

1 6225


Un-Answered Questions { C++ }

What is #include iostream in c++?

1114


What is methods in oop?

1042


What does sksksk mean in text slang?

2186


What is setfill c++?

1209


What is the use of class in c++?

1129


How can a called function determine the number of arguments that have been passed to it?

1206


What is basic concept of oop?

1230


What is the difference between the indirection operator and the address of oper-ator?

1174


What are different oops concepts?

1121


What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

1252


In a function declaration, what does extern mean?

1122


What is tellg () in c++?

1368


What is abstraction in oop with example?

1197


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

1229


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

1122