• Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • C++

Frequently Asked C++ interview questions and answers for freshers Page 14

C++ Select Another Category Select Another Topic

Programming and Technical

  • Android 118
  • ASP.NET 60
  • C 459
  • C++ 448
  • DATA STRUCTURE 66
  • DBMS 77
  • ELECTRONICS 39
  • Java 261
  • OOPs Concepts 117
  • Operating Syst 103
  • RDBMS 109
  • UNIX 70

C++ Question Topics

    Category (1)

    General Ability (4)

  • General Knowledge (2)
  • HR Interview (1)

  • Interview (1)
  • Logical Reasoning (5)

  • Blood Relations (3)
  • Coding Decoding (1)
  • General Mental Ability (1)
  • Numerical Ability (1)

  • Area and Volume (1)
  • Programming (67)

  • Basics (1)
  • Database (2)
  • Definition (16)
  • Program (14)
  • Technical (32)
  • Variables (1)
Keep an EYE (0)
Solved Question (1) UnSolved Question (447)
Pages: 45FirstPrev10111213141516171819NextLast
Advertisements

(#M40030281) C++ QUESTION C++ Keep an EYE Keep an eye puzzle Keep an eye puzzle

Consider the declarations in question 19. Suppose
there are two functions: f has an argument
of type A and g has an argument of type B.
Which statement is correct? 􀀁
a) Both f(b) and g(b) are legal function calls.
b) f(b) is legal, but g(b) is not legal.
c) f(b) is not legal, but g(b) is legal.
d) Neither f(b) nor g(b) is a legal

Asked In C++ MAN (11 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40030278) C++ QUESTION C++ Keep an EYE Keep an eye puzzle Keep an eye puzzle

Consider the assignment statement a=b; (with
the variable declarations in the previous question).
Which answer is true?
a) The assignment statement is illegal.
b) The assignment statement activates the A
assignment operator.
c) The assignment statement activates the B
assignment operator.
d) The assignment statement activates both A and
B assignment operators

Asked In C++ MAN (11 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution
Advertisements

(#M40030276) C++ QUESTION C++ Keep an EYE Keep an eye puzzle Keep an eye puzzle

In C++ what does the operator over loading
means.
a) Giving new meaning to existing C++ operators
b) Defining functionality of existing􀀁 C++ operator
for user define objects.
c) Defining new operators.

Asked In C++ MAN (11 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40030275) C++ QUESTION C++ Keep an EYE Keep an eye puzzle Keep an eye puzzle

Using the following declarations, which of the
following assignment statements are legal?
class A {...} ; class B: public A {...};
A a; B b, b1, b2;
a) a = b;
b) b = a;
c) b1 = b2;
d) Both (a) and (b) are legal, but not (c).
e) Both (a) and (c) are legal, but not (b).
f) Both (b) and (c) are legal, but not (a).

Asked In C++ MAN (11 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40030273) C++ QUESTION C++ Keep an EYE Keep an eye puzzle Keep an eye puzzle

What does the term “default parameter” mean in
C++?
a) It means that the compiler supplies default functionality
that you get for "free".
b) A parameter that C++ automatically supplies a
default value for.
c) Some C++ functions have all the parameters
written for you by the compiler
d) A parameter based on primitive C++ variable
types.

Asked In C++ MAN (11 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40030268) C++ QUESTION C++ Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the point in making a destructor "virtual"?
a) There is no value.
b) C++ uses it for memory leak detection.
c) It causes the derived class destructor to be
called upon delete.
d) A derived class destructor is always called, it just
changes the order of calling

Asked In C++ MAN (11 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40030267) C++ QUESTION C++ Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the primary value in using virtual functions
within C++?
a) They prevent the base class function from ever
being called.
b) They allow you to provide unique behavior for
derived classes.
c) Since they are "virtual" they sometimes don't
really exist.
d) Internet technologies

Asked In C++ MAN (11 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40028728) C++ QUESTION Technical Question on C++ and OOPS Keep an EYE Keep an eye puzzle Keep an eye puzzle

Can I create a operator** for "to-the-power-of" operations?

Asked In C++ MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40028727) C++ QUESTION Technical Question on C++ and OOPS Keep an EYE Keep an eye puzzle Keep an eye puzzle

Can I overload operator== so it lets me compare two char[] using a string comparison?

Asked In C++ MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution

(#M40028726) C++ QUESTION Technical Question on C++ and OOPS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What operators can/cannot be overloaded?

Asked In C++ MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (0)   (0) Submit Your Solution
Keep an EYE (0)
Solved Question (1) UnSolved Question (447)
Pages: 45FirstPrev10111213141516171819NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

The more you know, the less sure you are

Voltaire

mathematics is very useful for us.this is truely motivation subject.i really appreciate.

Aman tiwari

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 5 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 5 years ago

Now enjoy Offline Access of latest Question.

Get M4maths app to avail expert's solution and latest selected questions.

Download m4maths app now

  • 2533K+Registerd user
  • 1774K+Engineers
  • 759K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com