
C Viva
Authored by Ashwini T
Computers
University
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is not a valid C variable name?
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
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?
Similar Resources on Wayground
10 questions
Inteligencia de Negocios
Quiz
•
University
15 questions
Dictionary Python
Quiz
•
University
10 questions
python quiz
Quiz
•
6th Grade - Professio...
11 questions
HTML Postest
Quiz
•
University
15 questions
Fundamentals of Algorithms - Unit 1 - Test 1
Quiz
•
University
10 questions
Teoria General de los Sistemas IF1300
Quiz
•
University
10 questions
LINUX MODULE 03 QUIZ
Quiz
•
University
15 questions
Internet
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade