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 1266

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

4 2237

What are the static members and static member functions?

1 1360

What is the difference between shallow copy and deep copy?

1 1349

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

1 1517

Which operator can not be overloaded in C++?

1 1246

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 2056

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

1 886

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 918

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

2 2199

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

1 1159

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

1 944

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

1 1162

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

1 1049

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

1 1061


Un-Answered Questions { C++ }

What is overriding in oop?

1044


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

3086


What are c++ data types?

1170


What are separators in c++?

1093


Who invented oop?

1134


What is the outcome of cout< a) 16 b) 17 c) 16.5

1020


What is inheritance in oop?

1036


Why do while loop is used?

1042


Is it possible for the objects to read and write themselves?

1117


Should I learn c or c++ first?

1129


Is c++ a float?

1070


What is object in c++ example?

1118


What is overloading in oop?

1013


State two differences between C and C++.

1176


It is possible to build a C++ compiler on top of a C compiler. How would you do this?

1137