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
18 questions
If else Quiz

Quiz
•
University
10 questions
Programacion

Quiz
•
University
12 questions
C Programming

Quiz
•
University
20 questions
Java Simple - 1

Quiz
•
University
10 questions
Programación

Quiz
•
University
20 questions
CodeMavarick

Quiz
•
University
20 questions
UAS Algoritma dan Pemrograman

Quiz
•
University
20 questions
Round 3

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade