C Programming Flashcard

C Programming Flashcard

Assessment

Flashcard

Education

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

30 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which of the following is true for variable names in C: Variable names cannot start with a digit, Variable can be of any length, They can contain alphanumeric characters as well as special characters, Reserved Word can be used as variable name?

Back

Variable names cannot start with a digit.

2.

FLASHCARD QUESTION

Front

Which of these is NOT a relational or logical operator? =, ||, ==, !=

Back

=

3.

FLASHCARD QUESTION

Front

The #include is a ______________.

Back

Preprocessor directive

4.

FLASHCARD QUESTION

Front

Pick the correct syntax for Ternary Operator in C from the options given below: condition ? expression1 : expression2

Back

condition ? expression1 : expression2

5.

FLASHCARD QUESTION

Front

Find the output of the given C statement.
void main(){
int p=0;
p = 5<2 ? 4 : 3;
printf("%d",p);
}

Back

3

6.

FLASHCARD QUESTION

Front

How many keywords are there in C Language?

Back

32

7.

FLASHCARD QUESTION

Front

Each statement in a C program should end with?

Back

;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?