
Exam

Quiz
•
Education
•
University
•
Hard

Gracjan Kątek
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for declaring a function in C?
funcName();
void funcName();
functionName;
funcName(void);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to initialize an integer variable in C?
int x = 10;
integer x = 10;
x = 10;
int x;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to access the value at a given memory address in C?
*
&
#
$
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the break
statement in a switch
statement in C?
To exit the loop.
To skip the current iteration.
To terminate the program.
To exit the switch statement.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet in C?
printf("%d", sizeof("Hello"));
5
6
10
Compiler error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the continue
statement in a loop in C?
To exit the loop.
To skip the current iteration.
To terminate the program.
To restart the loop.
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the correct format specifier to print a single character in C?
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
TOEFL Structure (Problems with Articles)

Quiz
•
9th Grade - Professio...
15 questions
Study Game CCA 46-60

Quiz
•
University
10 questions
Phil. Pre-Colonial

Quiz
•
University
15 questions
invicta

Quiz
•
University
15 questions
Fundamental of Common Rail Diesel Fuel System

Quiz
•
University - Professi...
11 questions
Single Choice Questions

Quiz
•
7th Grade - University
15 questions
EXAM DSD

Quiz
•
University
10 questions
Unit 06-Use Software to create Raster Artwork - 01 (GDAD1-2)

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Education
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University