C language

C language

University

25 Qs

quiz-placeholder

Similar activities

TES Pemahaman Materi

TES Pemahaman Materi

University

20 Qs

Basic Python

Basic Python

University

20 Qs

C Programming 2

C Programming 2

University

25 Qs

Quantitative Aptitude Series

Quantitative Aptitude Series

University

20 Qs

C PROGRAMMING

C PROGRAMMING

University

25 Qs

CSE C Section

CSE C Section

University

20 Qs

CodeHS - Intro to Python - Basics and Console Interaction

CodeHS - Intro to Python - Basics and Console Interaction

9th Grade - Professional Development

20 Qs

Programming Concepts in C

Programming Concepts in C

University

20 Qs

C language

C language

Assessment

Quiz

Computers

University

Hard

Created by

Leela vani Mangaturthi

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Who is the father of the C language?

A) James Gosling

B) Dennis Ritchie

C) Bjarne Stroustrup

D) Ken Thompson

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. What is the extension of a C program file?

A) .cpp

B) .java

C) .c

D) .py

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. What is the default return type of the main() function in C?

A) int

B) void

C) float

D) char

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Which of the following is used to print output in C?

A) scanf()

B) printf()

D) echo()

D) void()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5.Which header file is required for using printf() and scanf()?

A) stdio.h

B) conio.h

C) stdlib.h

D) string.h

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. How is a single-line comment written in C?

A) <!-- Comment -->

B) // Comment

C) /* Comment */

D) # Comment

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Which of the following is NOT a valid variable name in C?

A) my_var

B) 2ndVar

C) _value

D) count123

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?