C++ General Interview Questions
Questions Answers Views Company eMail

Is java made in c++?

648

Is c++ high level programming language?

735

What does new do in c++?

701

What is java and c++?

719

What is linked list in c++?

751

What is c++ hash?

701

What are the important differences between c++ and java?

669

What is c++ mutable?

759

What is a built-in function?

1 671

What is the difference between global int and static int declaration?

474

Difference between const char* p and char const* p?

1 916

Specify different types of decision control statements?

434

Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL

410

Check for Balanced Parentheses using Stack?

1 638

What is an Object/Instance?

1 653


Post New C++ General Questions

Un-Answered Questions { C++ General }

Can a program run without main function?

713


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

696


Why is polymorphism useful?

644


write a porgram in c++ that reads an integer and print the biggest digit in the number

1837


Is sorted c++?

644






What is binary search in c++?

648


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

614


Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.

1793


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

698


You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

668


What is virtual destructor? What is its use?

639


Write about an iterator class?

665


What are the four partitions in which c++ compiler divides the ram?

790


Write about the role of c++ in the tradeoff of safety vs. Usability?

655


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

739