What is a function in C?, A variable, A block of code, A loop, An array, How do you declare an array in C?, int array[];, array int[];, int[] array;, array[] int;, Which symbol is used to access array elements?, {}, (), [], <>, What is the index of the first element in an array?, 1, 2, -1, 0, Which function is used to find string length?, strstr(), strcpy(), strcat(), strlen(), What does the 'return' keyword do?, Ends a loop, Starts a function, Declares a variable, Exits a function, How do you define a string in C?, float str[];, int str[];, char str[];, double str[];, Which library is needed for string functions?, <string.h>, <stdlib.h>, <stdio.h>, <math.h>, What is the purpose of 'void' in functions?, Returns int, No return value, Returns float, Returns char, Which operator is used for string concatenation?, &, strcat(), +, -
0%
C Programming: Functions, Arrays, and Strings
Share
Share
by
Preethigudi
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Quiz
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
AI Enhanced: This activity contains content generated by AI.
Learn more.
Switch template
Show all
Open results
Copy link
QR code
Delete
Continue editing:
?