Search Header Logo

WED-1

Authored by Vivek Jogdand

Computers

University

Used 1+ times

WED-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many keywords are there in C language?

A) 32

B) 33

C) 64

D) 18

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a valid keyword in C language?

A) for

B) while

C) do-while

D) switch

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The C source file is processed by the ___.

A) Interpreter

B) Compiler

C) Both Interpreter and Compiler

D) Assembler

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which are the fundamental data types in C?

A) char

B) int

C) float

D) All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct format specifier for double type value in C?

A) %d

B) %f

C) %lf

D) %LF

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is/are the size qualifier(s) in C language?

A) short

B) long

C) double

D) Both A. and B

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following C code?

#include <stdio.h>

int main() {

int x = 20;

x %= 3;

printf("%d",x);

return 0;

}

A) 2

B) 2.5

C) Error

D) Warning

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?