Search Header Logo

C programming

Authored by Preeti Pandey

Computers

University

Used 114+ times

C programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 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

All keywords in C are in ____________

LowerCase letters

UpperCase letters

CamelCase letters

all of them

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to prevent any changes in the variable within a C program?

variable

mutable

constant

extern

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of iteration in C?

for

while

switch

both A and B

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is #include <stdio.h>?

Preprocessor directive

Inclusion directive

File inclusion directive

None of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

scanf() is a predefined function in______header file.

stdlib. h

conio.h

stdio.h

math.h

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what will be the output of the following code?

int main()

{

int y = 10000;

int y = 34;

printf("Hello World! %d\n", y);

return 0;

}

Compile time error

Hello World! 34

Hello World! 1000

Hello World! followed by a junk value

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?