C Language Quiz

C Language Quiz

University

10 Qs

quiz-placeholder

Similar activities

C Language Basic Quiz

C Language Basic Quiz

7th Grade - Professional Development

10 Qs

BCA1-unit2

BCA1-unit2

University

6 Qs

Java Lesson 6

Java Lesson 6

5th Grade - University

8 Qs

Java Quiz

Java Quiz

University

10 Qs

CP-2-Unit-I

CP-2-Unit-I

University

12 Qs

C PROGRAMMING

C PROGRAMMING

University

15 Qs

QUIZADER

QUIZADER

University

10 Qs

Quiz02-Java

Quiz02-Java

University

10 Qs

C Language Quiz

C Language Quiz

Assessment

Quiz

Other

University

Medium

Created by

nisa s

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who is the father of C language?

Steve Jobs

James Gosling

Dennis Ritchie

Rasmus Lerdorf

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid C variable name?

int number;

float rate;

int variable_count;

int $main;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All keywords in C are in ____________

LowerCase letters

UpperCase letters

CamelCase letters

None of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true for variable names in C?

They can contain alphanumeric characters as well as special characters

It is not an error to declare a variable to be one of the keywords(like goto, static)

Variable names cannot start with a digit

Variable can be of any length

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is valid C expression?

int my_num = 100,000;

int my_num = 100000;

int my num = 1000;

int $my_num = 10000;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following cannot be a variable name in C?

volatile

true

friend

export

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is short int in C programming?

The basic data type of C

Qualifier

Short is the qualifier and int is the basic data type

All of the mentioned

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?

Discover more resources for Other