Revision 2 MCA

Revision 2 MCA

University

13 Qs

quiz-placeholder

Similar activities

Quiz 2

Quiz 2

University

12 Qs

Round 1

Round 1

University

15 Qs

C++ Level 3

C++ Level 3

University

10 Qs

Revision 2 C

Revision 2 C

University

17 Qs

JavaScript Variables, Data Types, and Operators Quiz

JavaScript Variables, Data Types, and Operators Quiz

University

18 Qs

Programming for Problem Solving

Programming for Problem Solving

University

10 Qs

CODE CAREER

CODE CAREER

University

9 Qs

IT Quiz Round 3

IT Quiz Round 3

University

10 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?