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
16 questions
Think it through

Quiz
•
University - Professi...
20 questions
Code-A-Vita

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

Quiz
•
University
13 questions
Array of Structure

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

Quiz
•
University
20 questions
GirlsWhoML Workshop 0

Quiz
•
University
20 questions
C - Strings

Quiz
•
University
15 questions
Java Quiz based on array

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade