
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
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
CODE ZENITH

Quiz
•
University
10 questions
Variables en Python

Quiz
•
University
10 questions
Basics Of C Programming

Quiz
•
University
10 questions
C - Pointers

Quiz
•
University
10 questions
C basic

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
10 questions
C++ Variables, Literals, and Constants Quiz

Quiz
•
University
12 questions
C/C++ C Function

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University