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
Tech quiz-july

Quiz
•
University
20 questions
Tech-Pictionary Round 1

Quiz
•
University
15 questions
C Quiz

Quiz
•
University
15 questions
C Basics_1

Quiz
•
University
20 questions
QUIZERIA

Quiz
•
University
20 questions
Orientation Quiz

Quiz
•
University
12 questions
C++ Programming Language

Quiz
•
University
10 questions
Algoritma Struktur Data (1)

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade