C++ General Interview Questions
Questions Answers Views Company eMail

the maximum length of a character constant can be a) 2 b) 1 c) 8

589

the first character in the variable name must be an a) special symbol b) number c) alphabet

589

an integer constant must have atleast one a) character b) digit c) decimal point

545

What does it mean to declare a member variable as static?

598

What does it mean to declare a member function as virtual?

576

What is a Default constructor?

1 899

What is an iterator?

678

What does it mean to declare a member function as static?

602

What are the differences between new and malloc?

621

What does it mean to declare a destructor as static?

615

What is the use of ::(scope resolution operator)?

640

what is VOID?

619

what does the following statement mean? int (*a)[4]

604

write a function signature with various number of parameters.

549

Can recursive program be written in C++?

620


Post New C++ General Questions

Un-Answered Questions { C++ General }

What new()is different from malloc()?

561


Do inline functions improve performance?

626


What is c++ and its uses?

606


What is difference between c++ and c ++ 14?

559


What do the keywords volatile and mean mutable?

595






Write a recursive program to calculate factorial in c++.

597


What is the header file for setw?

562


What is basic if statement syntax?

554


Does dev c++ support c++ 11?

537


What is code reusability in c++?

653


How should a contructor handle a failure?

670


Why do we use templates?

584


Can we use clrscr in c++?

518


Is java the same as c++?

535


Why is c++ is better than c?

510