[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++

    11 / 187

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

    No Discussion on this question yet!

    Please Login First :

    12 / 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 :

    13 / 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 :

    14 / 187

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

    No Discussion on this question yet!

    Please Login First :

    15 / 187

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

    No Discussion on this question yet!

    Please Login First :

    16 / 187

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

    No Discussion on this question yet!

    Please Login First :

    17 / 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 :

    18 / 187

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

    No Discussion on this question yet!

    Please Login First :

    19 / 187

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

    No Discussion on this question yet!

    Please Login First :

    20 / 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 :