[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Technical Interview Questions and Answers :: C++

    41 / 187

    What is Static Polymorphism? Give its syntax and simple example.
    Answer:

    No Discussion on this question yet!

    Please Login First :

    42 / 187

    Explain the resolution of a function by C ++ complier in the case of function overloading.
    Answer:

    No Discussion on this question yet!

    Please Login First :

    43 / 187

    What is meant by class space and object space (in respect to memory) in c++?
    Answer:

    No Discussion on this question yet!

    Please Login First :

    44 / 187

    Do we have a String primitive data type in C++?
    Answer:

    No Discussion on this question yet!

    Please Login First :

    45 / 187

    Name the default standard streams in C++.
    Answer:

    No Discussion on this question yet!

    Please Login First :

    46 / 187

    Are class functions taken into consideration as part of the object size?
    Answer:

    No Discussion on this question yet!

    Please Login First :

    47 / 187

    What is the scope resolution operator? Explain how does it work in c++?
    Answer:

    The :: operator links a class name with a member name in order to tell the complier what class the member belongs to. It has another use that is it can allow access to a name in an enclosing scope that is hidden by a local declaration of the same name.

    Egname.
    Eg:
    Void f()
    {
    int I;
    I=10;
    ………..
    ……..
    }
    It may do so by preceding the I with the :: as shown here
    Void f()
    {
    int I;
    :: I=10;
    ……..
    ……..
    }

    Please Login First :

    48 / 187

    How can we catch all kind of exceptions in a single catch block?
    Answer:

    No Discussion on this question yet!

    Please Login First :

    49 / 187

    What is the use of the keyword "using" ?
    Answer:

    No Discussion on this question yet!

    Please Login First :

    50 / 187

    If a pointer declared for a class, which operator can be used to access its class members?
    Answer:

    . Dot operator is used for accessing class members,
    -> operator used for accessing pointer in the class

    Please Login First :


You can check latest and updated C++ Programming Exam Questions and Answers on this page. You can filter the question set by the company's name. Looking for the right answer? Don't worry! You can click on view answer section and check the answer with the explanation. You can discuss the answer in the forum with other users easily. Login with Facebook and save the answer To Reading List right now!

Our site contains top IT companies placement paper and mock test to help the freshers and experienced candidate to get hands on experience on the pattern and type of questions. We have curated all the C++ technical interview questions and answers from previous candidates.