Which of the following is not a valid C variable name?

C Viva

Quiz
•
Computers
•
University
•
Medium
Ashwini T
Used 15+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
int number;
float rate;
int variable_count;
int $main;
Answer explanation
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How many keywords are there in C language?
32
33
64
18
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is an identifier in C language?
An identifier is a combination of alphanumeric characters used for conditional and control statements
An identifier is a combination of alphanumeric characters used for any variable, function, label name
Both A and B
None of the above
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A C-style comment, simply surround the text with ___.
/* and */
// and //
//
/** and **/
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which are the fundamental data types in C?
char
int
float
All of these
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
For which type, the format specifier "%i" is used?
int
char
float
double
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which is the correct format specifier for double type value in C?
%d
%f
%lf
%LF
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
C Language Quiz-1

Quiz
•
University - Professi...
15 questions
C Programming - Unit 1 MCQ

Quiz
•
University
10 questions
C Programming Quiz-1

Quiz
•
University
15 questions
C programming

Quiz
•
University
10 questions
ECE-C Quiz _3

Quiz
•
University
11 questions
Quiz 2: C++ Basics

Quiz
•
University
13 questions
C programming-1

Quiz
•
University
15 questions
FOP - RECAP CHAP 3

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade