
C Language
Authored by Labeed Ahmad
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid C variable name?
int number;
float _rate;
int variable_Count;
int $main;
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the value of "z" in this code?
The value of z is 10
The value of z is 15
The value of z is 15.6
The value of z is 16
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of this code?
OK
KO
Depends on compiler
Depends on standard
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way of initializing an array in C?
int arr[4]= 1,2,3,4 ;
int arr[4]= (1,2,3,4) ;
int arr[4]= {1,2,3,4 };
int arr[4]= [1,2,3,4 ];
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function that calls itself is known as _________.
Repetation
Retention
Recursion
looping
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to write a single line comment?
/* Comment */
/* Comment
//Comment//
//Comment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
_________used to give tab spaces in c programming.
/n
\t
\r
\n
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?