Revision 2 MCA

Revision 2 MCA

University

13 Qs

quiz-placeholder

Similar activities

C++ vs Python: A Quiz Introduction

C++ vs Python: A Quiz Introduction

11th Grade - University

10 Qs

CS1010 Lab 4

CS1010 Lab 4

University

10 Qs

Quiz 2 - Pointer and Function

Quiz 2 - Pointer and Function

University

11 Qs

Pointer dan Fungsi

Pointer dan Fungsi

University

14 Qs

MIND ZONE 2.2 [LEVEL 2]

MIND ZONE 2.2 [LEVEL 2]

University

10 Qs

Arrays in C (II yr 02.07.2020)

Arrays in C (II yr 02.07.2020)

University

10 Qs

Plot the Code

Plot the Code

University

10 Qs

TECHNICAL C POINTER JIT04

TECHNICAL C POINTER JIT04

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?