What is the output of following program?
C++ Training-Day 1_Quiz

Quiz
•
Computers
•
University
•
Hard
Ragini Kumari
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
x = garbage value y = garbage value
x = 0 y = 0
Compiler Error
None of the above
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is the output of the code?
Compiler Error
x = 0 y = 0
x = garbage value y = garbage value
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Predict the output of following program.
5
6
0
Compile time error
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What will be the output of following program?
Compile error
Hi
HelloHi
Hello
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What will be the output of following program?
10
Garbage
Runtime Error
Compile Error
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What will be the output of following program?
6553
6533
6522
12200
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which rule will not affect the friend function?
private and protected members of a class cannot be accessed from outside
private and protected member can be accessed anywhere
None of the mentioned
Both a and b
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Introduction to Arrays

Quiz
•
KG - University
15 questions
C programming

Quiz
•
University
11 questions
C/C++ Programming Chapter 3

Quiz
•
University
12 questions
C++ Basics (1)

Quiz
•
University
10 questions
Python - Functions

Quiz
•
University
10 questions
Java Quiz 2 based on loop and if else

Quiz
•
University
13 questions
CSE_A1_QUIZ 6(15-05-23)

Quiz
•
University
5 questions
Java Classes & Objects

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade