STL (140)
OOPS (873)
C++ General (2409) what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....
6 11533what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use
HCL,
2 7122In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that
6 15014What is the output of the following code:
int v()
{
int m=0;
return m++;
}
int main()
{
cout<
What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass
6 14983Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.
2774"How will you merge these two arrays? Write the program Array: A 1 18 22 43 Array: B 3 4 6 20 34 46 55 Output Array: C 1 3 4 6 18 20 22 34 43 46 55"
9 24291
What is polymorphism and its type in c++?
When does a 'this' pointer get created?
Are vectors faster than arrays?
What is the hardest coding language to learn?
What is stack unwinding?
What is the types of inheritance?
What is the best way to declare and define global variables?
When is dynamic checking necessary?
Why we use #include iostream in c++?
What is stl containers in c++?
What is static modifier?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
Is map thread safe c++?
Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D
Explain what are the sizes and ranges of the basic c++ data types?