Fill in the missing condition to ensure a loop runs exactly 5 times:

F1 C Programming

Quiz
•
Computers
•
University
•
Hard
Sivakumar S
Used 8+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
i <= 5
i != 5
i < 5
i >= 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the missing statement to declare a pointer to a function that takes two integers and returns a float?
float *func(int, int);
float (*func)(int, int);
float (func)(int, int);
float (*func())(int, int);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which control statement is missing to stop infinite execution in the following loop?
break
continue
return
goto
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To round off x (float), to an int value, the correct way to do is
y = (int)(x + 0.5)
y = int(x + 0.5)
y = (int)x + 0.5
y = (int)((int)x + 0.5)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
128
-128
Compiler-dependent
None of these
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Pointer arithmetic is not possible on ___.
Integer pointers
Float pointers
Character pointers
Void pointers
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Find the output:
20
24
4
18
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
PYTHON FUNCTION

Quiz
•
University
20 questions
Pointers

Quiz
•
University
15 questions
C programming

Quiz
•
University
15 questions
BASIC C PROGRAMMING QUIZ

Quiz
•
University
21 questions
SAINS KOMPUTER TINGKATAN 4 (BAB1)

Quiz
•
KG - University
20 questions
C - Strings

Quiz
•
University
20 questions
1st Year quiz

Quiz
•
University
25 questions
Compro. Final 1/64 part1

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