Revision 2 MCA

Revision 2 MCA

University

13 Qs

quiz-placeholder

Similar activities

Linked List 2

Linked List 2

University

10 Qs

Quiz Pre test chapter 4.2

Quiz Pre test chapter 4.2

University

10 Qs

DS MODULE 3 LINKED LIST

DS MODULE 3 LINKED LIST

University

15 Qs

Set 8

Set 8

University

10 Qs

Structures

Structures

12th Grade - University

10 Qs

DSA quiz 3 set 1

DSA quiz 3 set 1

University

10 Qs

C programming

C programming

University

15 Qs

C++ pointers

C++ pointers

University

8 Qs

Revision 2 MCA

Revision 2 MCA

Assessment

Quiz

Computers

University

Easy

Created by

Abhishek Pandey

Used 2+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a pointer variable store?

Both the value and address of the variable it points to

The value of the variable it points to

Holds a character

The address of the variable it points to

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a two-dimensional matrix declaration, the first subscript specifies the number of______________.

Column

Rows

Diagonal

None

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The dereference operator is also referred to as ___________________________.

indirection operator

Logical operator

relational operator

Reference operator

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the storage class used for a global variable in C?

register

Auto

static

extern

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for declaring an array of size 10 in C?

int arr[10];

array int arr[10];

int[10] arr;

int arr{}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax to access a structure member through a pointer?

ptr.member_name

*ptr.member_name

ptr[member_name]

ptr->member_name

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents a collection of different data types?

char

string

structure

array

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?