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

Module 1_Introduction to C Programming

Quiz
•
Engineering
•
University
•
Medium
Shruthi S
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int number
float rate
int variable_count
int $main
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is #include <stdio.h>?
Preprocessor directive
Inclusion directive
File inclusion directive
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the sizeof(char) in a 32-bit C compiler?
1 bit
2 bits
1 Byte
2 Bytes
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
scanf() is a predefined function in______header file.
stdlib. h
ctype. h
stdio. h
stdarg. h
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
int main()
{
int y = 10000;
int y = 34;
printf("Hello World! %d\n", y);
return 0;
}
Compile time error
Hello World! 34
Hello World! 1000
Hello World! followed by a junk value
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9;
}
3.75
Depends on compiler
24
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many keywords are there in C Language ?
30
22
32
36
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
Python Syntax Quiz

Quiz
•
University
8 questions
Clasificación Costos fijos y variables

Quiz
•
University
10 questions
Snap! Variables, Condicionales y Booleanos

Quiz
•
University
15 questions
TECH WHIZ

Quiz
•
University
15 questions
Codigo

Quiz
•
University
10 questions
Pseudocodigo y PSeInt

Quiz
•
University
8 questions
Quiz SEEL 2024 (10/09)

Quiz
•
University
15 questions
TRICODE CHALLENGE ROUND 1

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade