Demo C programming
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Hemant Kumar
Used 8+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What will the following code snippet display?
int x = 10;
printf("%d", x);
10.0
"10"
10
Error
2.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Which data type is used to store whole numbers in C?
char
double
int
float
3.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is the purpose of the printf function in C?
To read user input
To print text on the screen
To declare variables
To create loops
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is the main advantage of using functions in C?
5.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is the purpose of the return statement in a function in C?
6.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Which of the following is not a valid C keyword?
7.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Which header file should you include in a C program to use the printf and scanf functions?
string.h
conio.h
math.h
stdio.h
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Sosialisasi BRIONE Data
Quiz
•
Professional Development
10 questions
Kartkówka Kl.1 rejestr cmd zapora
Quiz
•
Professional Development
10 questions
ER Model
Quiz
•
Professional Development
10 questions
Software Security
Quiz
•
University - Professi...
10 questions
C Programming
Quiz
•
Professional Development
10 questions
BASIC OF COMPUTER
Quiz
•
Professional Development
10 questions
Introduction to Hyperconverged: HCI 101
Quiz
•
Professional Development
15 questions
Sains Komputer Tingkatan 5 - 1.3.3 Membina Jadual Kebenaran
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
