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

PRF192 - Review

Quiz
•
Other
•
University
•
Hard
Phạm Văn Dương 20202652M
Used 27+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int __a3;
int __3a;
int __A3;
None of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do variable names beginning with the underscore is not encouraged?
It is not standardized
To avoid conflicts since assemblers and loaders use such names
To avoid conflicts since library routines use such names
To avoid conflicts with environment variables of an operating system
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is valid C expression?
int my_num = 100,000;
int my_num = 100000;
int my num = 1000;
int $my_num = 10000;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Compile time error
Hello World! 34
Hello World! 1000
Hello World! followed by a junk value
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
The compiler will flag an error
The program will compile and print the output 5
The program will compile and print the ASCII value of 5
The program will compile and print FAIL for 5 times
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an int data type?
4 Bytes
8 Bytes
Depends on the system/compiler
Cannot be determined
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
p and q are 4 and 4
p and q are 4 and 8
compiler error
p and q are 2 and 8
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Quiz-1

Quiz
•
University
12 questions
Brainy Bites: Python

Quiz
•
University
10 questions
B2D54

Quiz
•
University
15 questions
Tech quiz Round 1

Quiz
•
University
10 questions
HTML PHP C++

Quiz
•
University
10 questions
Java set 1

Quiz
•
University
15 questions
Arrays

Quiz
•
University
10 questions
Programación

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