
BASIC C PROGRAMMING
Authored by Muhammad Abdullah
Computers
University
Used 244+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 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
30 sec • 1 pt
All keywords in C are in ____________
LowerCase letters
UpperCase letters
CamelCase letters
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true for variable names in C?
They can contain alphanumeric characters as well as special characters
It is not an error to declare a variable to be one of the keywords(like goto, static)
Variable names cannot start with a digit
Variable can be of any length
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a logical operator?
&&
!
||
|
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many keywords are there in C language?
30
31
32
33
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Which of the following cannot be a variable name in C?
volatile
true
friend
export
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to prevent any changes in the variable within a C program?
immutable
mutable
const
volatile
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?