C Language Quiz

C Language Quiz

University

30 Qs

quiz-placeholder

Similar activities

Basics of Web Technology

Basics of Web Technology

University

25 Qs

Simply, Mauj...

Simply, Mauj...

5th Grade - Professional Development

25 Qs

TPMM_ X TAV_Gasal 2019

TPMM_ X TAV_Gasal 2019

7th Grade - University

25 Qs

C++

C++

University

25 Qs

Kuis Internet1 L2324

Kuis Internet1 L2324

University

25 Qs

Aptitude King

Aptitude King

University - Professional Development

25 Qs

HTML and CSS cơ bảng

HTML and CSS cơ bảng

University

25 Qs

Angular 4

Angular 4

University

25 Qs

C Language Quiz

C Language Quiz

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

seyar sawayz

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which serves as the entry point for a C program?

void start()

start_main()

main()

void program()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pointers in C point towards

values

memory locations

indexes

data structures

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator diligently associates with memory allocation?

->

&&

malloc

sizeof

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For a variable x, what does &x represent?

Value of x

Address of x

Pointer to x

x squared

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If int num = 10;, what would ++num produce?

10

11

9

An error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a property of union in C?

Union uses memory efficiently by sharing memory.

All members of a union share the same memory location.

Size of a union is the sum of sizes of all members.

We can only access one member of a union at a time.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When does the memory for a local variable within a function get allocated and deallocated in C?

Compile-time

Load-time

Runtime, when the function is called

Runtime, during program initialization

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?