Revision 2 C

Revision 2 C

University

17 Qs

quiz-placeholder

Similar activities

ICT Unit-2

ICT Unit-2

University

20 Qs

Quiz 1 CCE

Quiz 1 CCE

University

15 Qs

Actúa - Conocimientos generales

Actúa - Conocimientos generales

2nd Grade - Professional Development

15 Qs

Fundamentos Web

Fundamentos Web

University

15 Qs

Computer and Other Human Inventions

Computer and Other Human Inventions

University

15 Qs

Robotics Prelim

Robotics Prelim

University

15 Qs

Digital and Analog transmission

Digital and Analog transmission

University

20 Qs

GIS Unit III

GIS Unit III

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?