C Viva

C Viva

University

10 Qs

quiz-placeholder

Similar activities

UNIT 1 - WHAT IS C++

UNIT 1 - WHAT IS C++

University

10 Qs

C++ Functions

C++ Functions

University

10 Qs

Expression in C Programming

Expression in C Programming

University

10 Qs

BASIC C PROGRAMMING QUIZ

BASIC C PROGRAMMING QUIZ

University

15 Qs

BASIC C PROGRAMMING

BASIC C PROGRAMMING

University

15 Qs

Java

Java

University

15 Qs

java1

java1

University

6 Qs

C++ 1st ONLINE QUIZ

C++ 1st ONLINE QUIZ

University

13 Qs

C Viva

C Viva

Assessment

Quiz

Computers

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?