C programming

C programming

University

15 Qs

quiz-placeholder

Similar activities

2D Array and Strings in C

2D Array and Strings in C

University

16 Qs

C Programming Quiz

C Programming Quiz

12th Grade - University

20 Qs

Expression in C Programming

Expression in C Programming

University

10 Qs

Operators in C

Operators in C

University

12 Qs

BASIC C PROGRAMMING QUIZ

BASIC C PROGRAMMING QUIZ

University

15 Qs

CodeGulf - Elimination Round

CodeGulf - Elimination Round

University

17 Qs

'C'Programming Basics - Prepared by Feroz Khan A.B

'C'Programming Basics - Prepared by Feroz Khan A.B

University

15 Qs

C - Structures

C - Structures

University

20 Qs

C programming

C programming

Assessment

Quiz

Computers

University

Medium

Created by

Preeti Pandey

Used 107+ times

FREE Resource

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

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?