C - Structures

C - Structures

University

20 Qs

quiz-placeholder

Similar activities

Revisão Prova 2 (Vetores e Matrizes)

Revisão Prova 2 (Vetores e Matrizes)

University

16 Qs

Python Unit 1 Quiz

Python Unit 1 Quiz

University

20 Qs

WLUG Linux CS quiz

WLUG Linux CS quiz

University

16 Qs

Computer Organization and Processor

Computer Organization and Processor

University

20 Qs

Membangun Program Security Awareness

Membangun Program Security Awareness

University - Professional Development

20 Qs

Software Engineering Chapter 2

Software Engineering Chapter 2

University

15 Qs

Algoritma Remedial RPL

Algoritma Remedial RPL

University

20 Qs

CSC305: TOPIC 2

CSC305: TOPIC 2

University

15 Qs

C - Structures

C - Structures

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Ise Jnnce

Used 104+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following operation is illegal in structures?

Typecasting of structure

Pointer to a variable of same structure

Dynamic allocation of memory for structure

All of the mentioned

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the size of a C structure?

C structure is always 128 bytes

Size of C structure is the total bytes of all elements of structure

Size of C structure is the size of largest element

None of the above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which operator connects the structure name to its member name?

-

.

/

\

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following cannot be a structure member?

Another structure

Array

Function

None of the mentioned

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Number of bytes in memory taken by the below structure is?

struct test

{

int k;

char c;

};

Multiple of integer size

integer size+character size

Depends on the platform

Multiple of word size

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Size of a union is determined by size of the

Biggest member in the union

First member in the union

Last member in the union

Sum of the sizes of all members

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A C structure or User defined datatype is also called ________.

Derived data type

Secondary data type

Aggregate data type

All the above

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?