
Array and string unit 7
Authored by Abhishek Pandey
Computers
University
Used 17+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare a string in C
a. string name;
b. char name[];
c. char name();
d. string[] name;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which library is used for string manipulation functions in C
string.h
stdio.h
math.h
time.h
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function is used to find the length of a string in C
len()
length()
strlen()
strlength()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to concatenate two strings in C
strcat()
all
concat()
. append()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to compare two strings in C
strcompare()
compare()
strcmp()
str_equal()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to copy one string to another in C
copy()
strcopy()
strcpy()
duplicate()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which character is used to represent the end of a string in C
\n
0
\0
1
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
GIS Unit III
Quiz
•
University
15 questions
Computer and Other Human Inventions
Quiz
•
University
15 questions
Robotics Prelim
Quiz
•
University
11 questions
SCM and Logistics
Quiz
•
University
15 questions
UIT 2221 MALWARE (COPTPA)
Quiz
•
University
10 questions
UTILITY PROGRAM
Quiz
•
University
10 questions
Data Warehouse - Foundations
Quiz
•
University
7 questions
Data mining-Clustering-1
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University