Hitha - C - Easy Paper

Hitha - C - Easy Paper

University

99 Qs

quiz-placeholder

Similar activities

Unity Game Development Worksheet

Unity Game Development Worksheet

University

100 Qs

Рабочий лист: вопросы 151–174

Рабочий лист: вопросы 151–174

University

101 Qs

UNIT 5 MCQ QUESTIONS - Cryptography and Network Security

UNIT 5 MCQ QUESTIONS - Cryptography and Network Security

University

94 Qs

Tư tưởng Hồ Chí Minh

Tư tưởng Hồ Chí Minh

University

100 Qs

UTSDSA

UTSDSA

University

100 Qs

Modelado de BD

Modelado de BD

University

100 Qs

INFORMATIKA (QUIZIZZ 8)

INFORMATIKA (QUIZIZZ 8)

8th Grade - University

94 Qs

finals reviewer eme eme

finals reviewer eme eme

University

98 Qs

Hitha - C - Easy Paper

Hitha - C - Easy Paper

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

Lebara 2023

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

99 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the file extension for C source code files?

.cpp
.java
.c
.py

Answer explanation

C source code files typically end with the `.c` extension.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which function is the entry point of every C program?

start()
begin()
main()
run()

Answer explanation

The `main()` function is where the execution of a C program begins.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which symbol is used to mark the end of a statement in C?

:
;
,
.

Answer explanation

A semicolon (`;`) is used to terminate most statements in C.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you write a single-line comment in C?

`/* comment */`
`// comment`
``
`# comment`

Answer explanation

`//` is used for single-line comments in C (and C++).

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you write a multi-line comment in C?

`/* comment */`
`// comment`
`# comment #`
`-- comment --`

Answer explanation

`/*` starts a multi-line comment and `*/` ends it.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which data type is used to store whole numbers (integers)?

float
char
int
double

Answer explanation

The `int` data type is used to store integer values.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which data type is used to store single characters?

int
char
float
bool

Answer explanation

The `char` data type is used to store a single character.

Create a free account and access millions of resources

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?