A comment can be split over more than one line, as follows/** A programto calculate averageof 5 numbers. **/

PRF192 - Review 2

Quiz
•
Other
•
University
•
Medium
Phạm Văn Dương 20202652M
Used 20+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
TRUE
FALSE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which ARE the following statements printf % character?
printf("\%")
printf("\\%")
printf("\%%")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The precedence of operators is ...
Arithmetic, Comparison, Logical
Logical, Comparison, Arithmetic
Comparison, Arithmetic, Logical
Comparison, Logical, Arithmetic
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is size of an int ?
8 bits
16 bits
Dependent on machine's "word" size
32 bits
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct prototype in C ?
doFunc():char;
char doFunc()
int doFunc(int,int);
int doFunc(int,int);
float doFunc(void);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statement is (are) wrong ?
a1 = 1343.44;
3=d;
cat = 'A' *** 'B';
asd = 'A'**24;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The ___ function after accepting a character and wait for the Enter key to be pressed.
putch()
putchar()
getch()
getchar()
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
First Meet Sains Data 2022

Quiz
•
University
10 questions
Data Types in C++

Quiz
•
University
12 questions
C++ Programming Language

Quiz
•
University
20 questions
TECHTRIX2025 BUGHUNT SET4

Quiz
•
University
20 questions
Pengelolaan Basis Data

Quiz
•
University
20 questions
Logika & Algoritma Pemrograman

Quiz
•
University
10 questions
c set 3

Quiz
•
University
20 questions
Round 3-Tech Titans

Quiz
•
University
Popular Resources on Quizizz
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade