• 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++
  • /
  • Programming

Frequently Asked C++ Programming Technical Interview Questions

C++ Select Another Category Programming 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 (0) UnSolved Question (67)
Pages: 71234567NextLast
Advertisements

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

Which of the following statements is correct?

Options
1) First time method of a class is called, the constructor method is called.
2) Every time method of a class is called, the constructor method is called.
3) Every time an instance of a class is created, the constructor method is called.
4) None of the above

Asked In C++ MAN (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (43)   (20) Submit Your Solution Technical

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

What will be the output for the following C++ program ..??

class Sample
{
public:
int *ptr;
Sample(int i)
{
ptr = new int(i);
}
~Sample()
{
delete ptr;
}
void PrintVal()
{
cout << "The value is " << *ptr;
}
};
void SomeFunc(Sample x)
{
cout << "Say i am in someFunc " << endl;
}
int main()
{
Sample s1= 10;
SomeFunc(s1);
s1.PrintVal();
}

Asked In C++ Rajendra Singh (11 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (7)   (5) Submit Your Solution Program
Advertisements

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

What is destructors?

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

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

What are the c++ tokens ?

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

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

What is a container class? What are the types of container classes?

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

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

What will be the output of following program?

main()
{
int i=1;
for(;i<=32768;i++)
printf("%d",i);
}

Options
1) 32767
2) infinite loop
3) 32768
4) None of the above

Asked In C++ MAN (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (11)   (4) Submit Your Solution Program

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

Which of the following concepts means adding new concepts to a program as it runs?

Options
1) Data hiding
2) Dynamic loading
3) Dynamic typing
4) Dynamic binding

Asked In C++ MAN (12 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (7)   (2) Submit Your Solution Technical

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

In c++ object of the class is also called?

Options
1) Constants
2) Tag
3) Instance
4) Data collection

Asked In C++ MAN (12 years ago)
Unsolved Read Solution (5)
Is this Puzzle helpful?   (6)   (1) Submit Your Solution Technical

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

Data members is also called?

Options
1) Attribute
2) Method
3) Class
4) Object

Asked In C++ MAN (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (18)   (9) Submit Your Solution Technical

(#M40156048) C++ QUESTION Pointers Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which one of the following is the correct option showing the declaration(s) of a pointer to constant integer?

[1] const int* a;
[2] int* const a;
[3] int const* a;
[4] 1 and 3 both
[5] 1 and 2 both
[6] 2 and 3 both
[7] None of the above

Asked In C++ Rishikesh Agrawani (9 years ago)
Unsolved Read Solution (8)
Is this Puzzle helpful?   (10)   (2) Submit Your Solution Technical
Keep an EYE (0)
Solved Question (0) UnSolved Question (67)
Pages: 71234567NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

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

Maths Quotes

"Mathematics is just a game of greatest fun so every one should play it "

Jass

If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.

Tobias Dantzig

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