C++ Interview Questions
Questions Answers Views Company eMail

How can we read/write Structures from/to data files?

612

How do you print a string on the printer?

569

How are Structure passing and returning implemented by the compiler?

591

What are register variables?

637

Write a program to concatenate two strings.

577

Which function should be used to free the memory allocated by calloc()?

583

Write a program which uses Command Line Arguments

621

Write a program to find the Factorial of a number

563

Difference between strdup and strcpy?

640

Which bit wise operator is suitable for checking whether a particular bit is on or off?

597

Out of fgets() and gets() which function is safe to use and why?

714

Which bit wise operator is suitable for turning off a particular bit in a number?

636

Describe about storage allocation and scope of global, extern, static, local and register variables?

721

Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

593

How do you declare A pointer to function which receives an int pointer and returns a float pointer

670


Un-Answered Questions { C++ }

What are manipulators used for?

599


What is the use of data hiding?

585


What does obj stand for?

620


What is the difference between the parameter to a template and the parameter to a function?

622


Explain the difference between using macro and inline functions?

570






What is the use of oops?

610


write string class as your own class in java without using any built-in function

1965


What is a multimap c++?

667


What is the best c++ ide?

591


Is it possible to have a recursive inline function in c++?

538


Can you use the function fprintf() to display the output on the screen?

651


What is protected in oop?

596


What is the full form of dos?

556


Mention the ways in which parameterized can be invoked. Give an example of each.

561


Can union be self referenced?

566