C Programming Quiz

C Programming Quiz

University

15 Qs

quiz-placeholder

Similar activities

IMPERATIVE VS OOP

IMPERATIVE VS OOP

University

15 Qs

C Language Basic Quiz

C Language Basic Quiz

7th Grade - Professional Development

10 Qs

PRF192 - Review

PRF192 - Review

University

12 Qs

Week 3 Pass

Week 3 Pass

University

18 Qs

Pointer Exercise Challenge

Pointer Exercise Challenge

University

18 Qs

ComputerProgramming2LongQuiz

ComputerProgramming2LongQuiz

University

20 Qs

Definite Integrals #1

Definite Integrals #1

10th Grade - University

15 Qs

DYRT  Ch 10

DYRT Ch 10

University

10 Qs

C Programming Quiz

C Programming Quiz

Assessment

Quiz

Other

University

Hard

Created by

Twinkle Keshvani

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The C-preprocessors are specified with _________ symbol

#

$

"

&

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

int __a3;

int __3a;

int __A3;

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Volatile

Friend

True

Export

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following typecasting is accepted by C language?

Widening conversions

Narrowing conversions

Widening & Narrowing conversions

None of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where in C the order of precedence of operators do not exist?

Within conditional statements, if, else

Within while, do-while

Within a macro definition

None of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the base data type of a pointer variable by which the memory would be allocated to it?

Int

Float

Unsigned int

No datatype

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Prior to using a pointer variable it should be

Declared

Initialized

Both A and B

None of these

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?