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
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()
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
JavaScript Variables, Data Types, and Operators Quiz

Quiz
•
University
12 questions
JavaScript Quiz

Quiz
•
University
18 questions
Array_to be discussF3

Quiz
•
University
20 questions
Zenorix 2023

Quiz
•
University
17 questions
Coding Titans

Quiz
•
University
20 questions
CCE-III Programming in C Language

Quiz
•
University
13 questions
Revision 2 MCA

Quiz
•
University
20 questions
Pointers

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade