C Language Quiz

C Language Quiz

University

30 Qs

quiz-placeholder

Similar activities

Understanding Input, Selection and Loops in Python

Understanding Input, Selection and Loops in Python

7th Grade - University

25 Qs

SQL Quiz: 25 MCQs on the Student Table

SQL Quiz: 25 MCQs on the Student Table

University

25 Qs

programming quiz

programming quiz

University

25 Qs

IT202 Midterm

IT202 Midterm

University

25 Qs

Komputer Akuntansi

Komputer Akuntansi

University

25 Qs

Soal MId Semester Genap

Soal MId Semester Genap

7th Grade - University

25 Qs

Kisi-kisi Propper April 2019 Part 2

Kisi-kisi Propper April 2019 Part 2

University

25 Qs

TIN HỌC VĂN PHÒNG

TIN HỌC VĂN PHÒNG

7th Grade - University

25 Qs

C Language Quiz

C Language Quiz

Assessment

Quiz

Computers

University

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?