Recent questions tagged cpp

1 1 vote
0 0 answers
625
625 views
On overloading pre increment and post increment why compiler taking dummy value only for post increment and not in pre increment
0 0 votes
0 0 answers
700
700 views
why did constructor's name is same as class name and it has no return type
1 1 vote
1 1 answer
572
572 views
Output is? With explanation
2 2 votes
1 1 answer
559
559 views
Explain the answer.
1 1 vote
0 0 answers
701
701 views
What is the correct Answer ?My answer is 90 and given answer is no output how?
1 1 vote
1 1 answer
452
452 views
How to predict it
1 1 vote
1 1 answer
619
619 views
step by step compile it and provide output
2 2 votes
0 0 answers
424
424 views
1 1 vote
0 0 answers
942
942 views
My answer is :: 1222Given answer is :: 1232 How? Please explain.
0 0 votes
1 1 answer
653
653 views
Spot the features that are present in C++ not in Java:I. New operator II. Delete opeartor III. Objects stored in stack memory. IV . Objects stored in Heap memorya. ...
1 1 vote
0 0 answers
742
742 views
Pick the wrong statement about static member cariable in a class written in C++:Only one copy of static data members is created and all objects of the class will share th...
1 1 vote
1 1 answer
3.1k
3.1k views
Which of the following statement (s) regarding operator overloading is false?a. Overloaded operator should have same precedence as in actual operator.b. Overloaded operat...
2 2 votes
1 1 answer
561
561 views
What fearure(s) can differ between two overloaded functions?a. Number of parametrsb. type of parametersc. Return type.I. a , b, or cII.( a and b) or cIII. a and b onlyIV...
2 2 votes
1 1 answer
16.6k
16.6k views
If class A is friend of class B and if class B is friend of class C, which of the following is true?a. Class C is friend of class Ab. Class A is friend of class Cc. Class...
4 4 votes
1 answers 1 answer
6.3k
6.3k views
What is the difference between overloaded functions and overridden functions?a. Overloading is a dynamic or run-time binding and Overriding is static or compile-time bind...
2 2 votes
0 0 answers
1.3k
1.3k views
Which of the following is (are) not recommended in a header file?a. Type definitions (typedefs)b. Class definitionsc. Function definitionsd. Template definitionsI. d only...
To see more, click for the full list of questions or popular tags.