Basic C Programming - Format Specifier

Basic C Programming - Format Specifier

12th Grade

10 Qs

quiz-placeholder

Similar activities

INCOTERMS

INCOTERMS

12th Grade

10 Qs

ASK Tingkatan 1: 2.2.2 Format Imej pada Fail yang Sama

ASK Tingkatan 1: 2.2.2 Format Imej pada Fail yang Sama

12th Grade - University

12 Qs

Integritas Integritas Integritas!

Integritas Integritas Integritas!

12th Grade - Professional Development

11 Qs

Elektrokimia

Elektrokimia

12th Grade - University

10 Qs

Kuis Surat Lamaran Pekerjaan

Kuis Surat Lamaran Pekerjaan

12th Grade

10 Qs

Fakta Opini PPL4

Fakta Opini PPL4

9th - 12th Grade

15 Qs

CANVA

CANVA

1st Grade - Professional Development

10 Qs

Review of Related Literature and Related Studies

Review of Related Literature and Related Studies

12th Grade

15 Qs

Basic C Programming - Format Specifier

Basic C Programming - Format Specifier

Assessment

Quiz

Education

12th Grade

Practice Problem

Medium

Created by

Hafizul Hasmie

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?