Revision 2 C

Revision 2 C

University

17 Qs

quiz-placeholder

Similar activities

Java Quiz 4

Java Quiz 4

University

15 Qs

Hexadecimal - decimal y binario

Hexadecimal - decimal y binario

University

17 Qs

Skill Competition Quiz 2024

Skill Competition Quiz 2024

10th Grade - University

20 Qs

Introducción Redes Tele1 IB

Introducción Redes Tele1 IB

10th Grade - University

15 Qs

Python Quiz

Python Quiz

University

15 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

ITE TEST 2

ITE TEST 2

University

20 Qs

Computer Hardware - CPU & GPU

Computer Hardware - CPU & GPU

7th Grade - University

16 Qs

Revision 2 C

Revision 2 C

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Abhishek Pandey

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to call a function named add that takes two integers as arguments?

add(2, 3);

add(2, 3); return;

call add(2, 3);

call add();

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a two-dimensional matrix declaration, the first subscript specifies the number of______________.

row

column

diagonal

line

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following functions will return the first occurrence of a character in a string?

strfind()

strchr()

strloc()

strrchr()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which header file is needed to use the printf() function in C?

stdio.h

conio.h

ctype.h

string.h

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to concatenate two strings in C?

strcat()

append()

concatenate()

strmerge()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to accept input from the user in C?

input()

scanf()

getch()

output()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function in C is used to find the length of a string?

strlen()

strlength()

size()

findlen()

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?

Discover more resources for Computers