Revision 2 C

Revision 2 C

University

17 Qs

quiz-placeholder

Similar activities

DreamWeaver CS6

DreamWeaver CS6

University

20 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Banco de Dados

Banco de Dados

University - Professional Development

20 Qs

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

Multimedia Video & Animation

Multimedia Video & Animation

University

20 Qs

Django-quiz

Django-quiz

5th Grade - University

20 Qs

MIDTERM EXAM - IT APP

MIDTERM EXAM - IT APP

University

17 Qs

Evaluasi Pertemuan 12 DRPL TI-3B

Evaluasi Pertemuan 12 DRPL TI-3B

University

15 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?