
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
11 questions
Quiz 2: C++ Basics

Quiz
•
University
10 questions
Talent Next Java MCQ-1

Quiz
•
University
15 questions
BASIC C QUIZ

Quiz
•
University
10 questions
C++ Identifiers and Constants Quiz

Quiz
•
University
10 questions
T_4.2 Identifier, Data Types, Operators & Expressions

Quiz
•
12th Grade - University
12 questions
C Basics

Quiz
•
University
14 questions
Java Operators

Quiz
•
University
10 questions
ECE-C Quiz _3

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade