C++ FREQUENTLY ASKED QUESTIONS
------------------------------------------------

What do you mean by Object Oriented Programming technique?

What are the properties of OOP technique?

What do you mean by inheritance? Explain using an example?

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

What is polymorphism?

What is inline function?

How do you allocate dynamic memory in C++?

What is the difference between C and C++?

What is a void return type?

How is it possible for two String objects with identical values not to be equal under the == operator?

What is the difference between a while statement and a do statement?

Write a program to print all the prime numbers below a given number.

Write a program for reversing a given number without using string function.

Can a for statement loop indefinitely?

How do you link a C++ program to C functions?

What is the basic difference between a class and a structure?

How can you tell what shell you are running on UNIX system?

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

How do you write a function that can reverse a linked-list?

Can a copy constructor accept an object of the same class as parameter, instead of reference of the object?

What is a local class?

What is a nested class?

What are the access privileges in C++? What is the default access level?

How do you access the static member of a class?

What does extern int func(int *, Foo) accomplish?

When the processor wakes up after power on, it goes to a particular memory location. What is that memory location called?

What is the difference between Mutex and Binary semaphore?

Write a program to set 2nd bit in a 32 bit register with memory location 0×2000?

Stumble Upon Toolbar

Related Posts by Categories



Widget by Hoctro | Jack Book

Comments (0)