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 do you mean by abstraction in C++?

1 1199

What do you mean by call by value and call by reference?

4 1961

What are the static members and static member functions?

1 1307

What is the difference between shallow copy and deep copy?

1 1248

How do you allocate and deallocate memory in C++?

1 1439

Which operator can not be overloaded in C++?

1 1165

Q1 On the screen how do you write the following words? she sells seashells by the seashore (a) all in one line (b) in three lines Q2 Write a program that asks interactively the user’s name and age and responds with Hello name, next year you will be next_age. where next_age is age + 1 Q3 For the different values of n, what is the output? printf(“%x %c %o %d”,n,n,n,n); (a) n = 67 (b) n = 20 (c) n = 128 (d) n = 255 (e) n = 100 Q4 What will be the output of the following program? int main() { char a,b,c; scanf(“%c %c %c”,&a,&b,&c); printf(“a=%c b=%c c=%c”,a,b,c); return 0; } [Note: The user input is:ABC DEF GHI]

1 1969

Write a C++ Program to Display Number (Entered by the User).

1 802

Identify the error in the following program. #include void main() { int i = 0; i = i + 1; cout « i « " "; /*comment *//i = i + 1; cout << i; }

1 818

Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69

2 2082

Write a C++ Program to find Square Root of a number using sqrt() function.

1 1065

Write a C++ Program to Find Sum and Average of three numbers.

1 859

Write a program to read two numbers from the keyboard and display the larger value on the screen

1 1087

Write a C++ Program to Find whether given Number is Odd or Even.

1 967

Write a C++ Program to Reverse a Number using while loop.

1 966


Un-Answered Questions { C++ }

I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

1088


Can we define function inside main in c++?

960


Which operator cannot be overloaded c++?

977


Explain the properties and principles of oop.

966


What is c++ used for in games?

1110


Explain deep copy and a shallow copy?

1001


How many times will this loop execute? Explain your answer.

832


What is the use of main function in c++?

935


Why do we use encapsulation in oops?

979


What is conversion constructor in C++

997


What is encapsulation example?

989


Difference between class and structure.

1112


What is const in c++?

1069


What is the difference between an ARRAY and a LIST in C++?

1394


What is meant by stl in c++?

1097