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(), +, -

C Programming: Functions, Arrays, and Strings

Leaderboard

Visual style

Options

AI Enhanced: This activity contains content generated by AI. Learn more.

Switch template

Continue editing: ?