
Basic C Programming - Format Specifier
Quiz
•
Education
•
12th Grade
•
Practice Problem
•
Medium
Hafizul Hasmie
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the format specifier for printing integers in C using printf?
%f
%d
%s
%i
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the format specifier for scanning integers in C using scanf?
%i
%s
%f
%d
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the format specifier for printing floating-point numbers in C using printf?
%f
%d
%c
%s
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the format specifier for scanning floating-point numbers in C using scanf?
%f
%lf
%float
%d
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the format specifier for printing characters in C using printf?
%c
%s
%d
%f
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the format specifier for scanning characters in C using scanf?
%c
%f
%s
%d
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you print an integer variable 'num' using printf with the correct format specifier?
%f
%s
%c
%d
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
"Os Maias"
Quiz
•
9th - 12th Grade
10 questions
Estudo Orientado - Atividade 4
Quiz
•
8th Grade - Professio...
13 questions
Child Development Theorists
Quiz
•
10th - 12th Grade
10 questions
Spreadsheet
Quiz
•
12th Grade
10 questions
Bibliography
Quiz
•
7th - 12th Grade
10 questions
Pola Bilangan UTBK (TPS) #1
Quiz
•
12th Grade - University
10 questions
Pre Test - Integrasi Aplikasi Perkantoran
Quiz
•
12th Grade
13 questions
Psychology Quiz 1 (Johnson GHS)
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
