Guess the output of the following code:

OODP FT1 I1 SECTION

Quiz
•
Computers
•
University
•
Medium
Vetriselvi D
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2.500000
2.000000
2
Compilation Error
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How many times will the loop execute?
4
5
6
Infinite times
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare an integer pointer is
int ptr;
int *ptr;
ptr *int;
int &ptr;
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Find the value of x in this code:
10
15
20
40
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Output of the following code is:
10
20
30
40
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
This function returns ---------
Fibonacci sequence
Factorial of n
Sum of first n numbers
Power of n
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Output of the following code is:
True
False
Error
Undefined behaviour
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
C-Programming

Quiz
•
University
30 questions
OODP_Batch2_Quiz

Quiz
•
University
30 questions
Round_1 (B)| Coding Combat 2.0

Quiz
•
University
25 questions
TECH_IQ_HUNT ROUND

Quiz
•
University
25 questions
Ардуино бойынша жалпы сұрақтар:

Quiz
•
University
30 questions
Code Twisters Round One Batch -1

Quiz
•
University
30 questions
C-Language Q1

Quiz
•
University
26 questions
Typescript class 02

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