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++ General Interview Questions
Questions Answers Views Company eMail

Write a corrected statement in c++ so that the statement will work properly. x =+ 7;

2 3952

Write a corrected statement in c++ so that the statement will work properly. x + y=z;

2 4068

If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?

2 4682

Write a single instruction that will find the remainder of integral division when x is divided by y. Have the answer stored in z.

1 3470

Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)

1942

Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

2023

Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.

1 3718

Given the following function definition: int doit(int &x, int y, int &z) { x = 3*x; y = y + 5; z = x+y; return z - 4; } int a = 5, b = 7, c = 9, d = 11; d = doit(a,b,c);

2 6955

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create

2631

#include void main() { class x { public: int func(int) { cout<<"cool"; return 1; } } }

Infosys,

1 4790

Write a program and call it sortcheck.cpp which receives 10 numbers from input and checks whether these numbers are in ascending order or not. You are not allowed to use arrays. You should not define more than three variables

BirlaSoft, Crayonz,

2 4843

write a c++ program that gives output 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 using looping statement

2 6344

What do you mean by abstraction. Explain your answer?

5 13103

What is compilation?

Datamatics, TCS,

1 5251

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

Webyog,

4 11469


Post New C++ General Questions

Un-Answered Questions { C++ General }

Should you pass exceptions by value or by reference?

1134


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3866


What is the meaning of string in c++?

1065


How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

1079


What is #include iostream h in c++?

1158


Name four predefined macros.

1040


What is &x in c++?

999


Can I learn c++ without knowing c?

1060


what is pre-processor in C++?

1158


What does namespace mean in c++?

1075


Is turbo c++ free?

1072


What is purpose of abstract class?

1070


Explain how an exception handler is defined and invoked in a Program.

1175


Explain the difference between c++ and java.

1111


What are destructors?

998