Guess the output of the following code:

" C Proficiency "

Quiz
•
Information Technology (IT)
•
University
•
Medium
Naveen P
Used 2+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
2.500000
2.000000
2
Compilation Error
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many times will the loop execute?
4
5
6
Infinite times
3.
MULTIPLE CHOICE QUESTION
45 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
45 sec • 1 pt
Find the value of x in this code:
10
15
20
40
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Output of the following code is:
10
20
30
40
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This function returns ---------
Fibonacci sequence
Factorial of n
Sum of first n numbers
Power of n
7.
MULTIPLE CHOICE QUESTION
45 sec • 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
50 questions
Java қазақша 151 - 200

Quiz
•
University
50 questions
PSAT TIK VII A 2025

Quiz
•
7th Grade - University
50 questions
ITCC104: Long Quiz 1

Quiz
•
University
50 questions
Quiz on Software and Operating Systems

Quiz
•
University
51 questions
Algorithmization and Programming Quiz

Quiz
•
University
50 questions
Питон 1-50

Quiz
•
University
50 questions
тест2

Quiz
•
University
50 questions
9- класс

Quiz
•
9th Grade - 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