Pop Quiz 1

Pop Quiz 1

University

6 Qs

quiz-placeholder

Similar activities

Programming C

Programming C

University

10 Qs

Unit 3 pre defined functions

Unit 3 pre defined functions

University

7 Qs

CODE CAREER

CODE CAREER

University

9 Qs

ProgramC CH4

ProgramC CH4

University

10 Qs

TECHNICAL C PROGRAM

TECHNICAL C PROGRAM

University

10 Qs

Input And Output in C

Input And Output in C

University

10 Qs

MIND ZONE 2.2 [LEVEL 2]

MIND ZONE 2.2 [LEVEL 2]

University

10 Qs

Data Structure

Data Structure

University

10 Qs

Pop Quiz 1

Pop Quiz 1

Assessment

Quiz

Computers

University

Easy

Created by

aL-razi khuzairi

Used 2+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the main purpose of getchar function?

Input variables

Input single characters

I don't know

Output single characters

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the correct syntax for getchar?

getchar ( )

Getchar ( );

getchar (c);

getchar ( );

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the main purpose of putchar function?

Input single characters

Output variables

Output single characters

Input variables

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the correct syntax for putchar?

Putchar (c);

putchar ( )

putchar (c);

putchar (c)

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Input/Output functions require a header file. What is the name of the header file?

stdio.h

studio.h

stdoi.h

stdi.oh

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the correct syntax when writing input/output header file in C program?

#include <stdioh>

@include <stdio.h>

#include <stdio.h>;

#include <stdio.h>