Follow Quotesrain
  • 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++

C++ interview questions and answers for freshers

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 260
  • OOPs Concepts 117
  • Operating Syst 103
  • RDBMS 109
  • UNIX 70

C++ Question Topics

    Category (1)

    General Ability (3)

  • General Knowledge (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: 45123456789NextLast
Advertisements

(#M40164898) C++ QUESTION Write a program that will take a number in string format and convert it and print it in integer form Keep an EYE Keep an eye puzzle Keep an eye puzzle

Write a program that will take a number in string format and convert it and print it in integer format.

Asked In C++ siva prasad reddy (5 years ago)
Unsolved
Is this Puzzle helpful?   (5)   (3) Submit Your Solution Database

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

program to code electric bill where first 100 unit would cost 50 rupee and next 200 would cost 500 an over 300 would cost 5000 rupee

Asked In C++ richard (6 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (8)   (1) Submit Your Solution General Knowledge
Advertisements

(#M40156091) C++ QUESTION static keyword in C++ Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which one of the following is true about the static keyword :-
[1] variable declared as static is shared by all
the objects of the class.
[2] variable declared as static is not shared
by all the objects of the class.
[3] It can't be used as data member of class.
[4] None
.

Asked In C++ Rishikesh Agrawani (7 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (24)   (2) Submit Your Solution Variables

(#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 (7 years ago)
Unsolved Read Solution (8)
Is this Puzzle helpful?   (10)   (2) Submit Your Solution Technical

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

Pankaj makes a program to print the product of cubes of the first 10 whole numbers.

She writes the following program:

integer x = 0 // statement 1

integer x = 0 // statement 1

integer sum = 0 // statement 2

while ( x < 10 ) // statement 3

{

sum = x*x*x // statement 4


x = x + 1 // statement 5

}

print sum // statement 6


Is her program correct? If not, which statement will you modify to correct it?

a. No error, the program is correct

b. Statement 1

c. Statement 4

d. statement 6

Asked In C++ abhinav (7 years ago)
Unsolved Read Solution (9)
Is this Puzzle helpful?   (29)   (15) Submit Your Solution undefined

(#M40153446) C++ QUESTION oswisio Keep an EYE Keep an eye puzzle Keep an eye puzzle

pas w wur iurwrp whjyrwo w oyrwrwn wyrpwy r wropwrwu oprwv rwyp yw rworhy r wr

Asked In C++ pankaj makhija (7 years ago)
Unsolved
Is this Puzzle helpful?   (2)   (10) Submit Your Solution

(#M40153445) C++ QUESTION oswisio Keep an EYE Keep an eye puzzle Keep an eye puzzle

hydfudfhwhdfgswdy hswdvwuigtdwvbduiwdgw bvjd wudgw vdwudi

Asked In C++ pankaj makhija (7 years ago)
Unsolved
Is this Puzzle helpful?   (2)   (10) Submit Your Solution

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

Flag question
Question text
What will be the output of the following program?
#include
using namespace std;
int g = 100;
int main()
{
int a;
{
int b;
b = 20;
a = 35;
g = 65;
a = 50;
cout <

Asked In C++ priya (7 years ago)
Unsolved
Is this Puzzle helpful?   (10)   (4) Submit Your Solution

(#M40052955) C++ QUESTION basic Keep an EYE Keep an eye puzzle Keep an eye puzzle

what is i++? means

Asked In C++ AMANDEEP SINGH (8 years ago)
Unsolved Read Solution (10)
Is this Puzzle helpful?   (12)   (1) Submit Your Solution

(#M40039491) C++ QUESTION pointer Keep an EYE Keep an eye puzzle Keep an eye puzzle

Give the output of following program segment with explanation.
main()
{int a=32, *x=&a;
char ch=65, &e=ch;
e+=a;
*x+=ch;
cout<

Asked In C++ ruhi (8 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (10)   (3) Submit Your Solution Technical
Keep an EYE (0)
Solved Question (1) UnSolved Question (447)
Pages: 45123456789NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

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

Maths Quotes

It is a mathematical fact that the casting of this pebble from my hand alters the centre of gravity of the universe.

Thomas Carlyle

every maths problem has 108 types solution.

Rakshith Shetty...

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 2 years ago

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

yash mittal 3 years ago
  • 2476K+Registerd user
  • 1734K+Engineers
  • 742K+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