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

Quiz
•
Computers
•
University
•
Easy
Abhishek Pandey
Used 2+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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()
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Python introduction

Quiz
•
University
15 questions
Java Quiz based on array

Quiz
•
University
20 questions
Pointers

Quiz
•
University
18 questions
JavaScript Variables, Data Types, and Operators Quiz

Quiz
•
University
21 questions
quiz 2nd/3rd year

Quiz
•
University
15 questions
Milking Minds 2 17-01-24

Quiz
•
University
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
20 questions
Beginner Quiz on ML and Python Basics

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade