C Viva

C Viva

University

10 Qs

quiz-placeholder

Similar activities

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

C programming-1

C programming-1

University

13 Qs

Basics of C

Basics of C

University

10 Qs

pointers and structures

pointers and structures

University

10 Qs

PRF192 C Programming

PRF192 C Programming

University

13 Qs

C Quiz2

C Quiz2

University

12 Qs

FY-Test-1

FY-Test-1

University

15 Qs

Let's C It

Let's C It

11th Grade - University

6 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?