Revision 2 MCA

Quiz
•
Computers
•
University
•
Easy
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
Similar Resources on Wayground
13 questions
DSA Day 2

Quiz
•
University
17 questions
Coding Titans

Quiz
•
University
10 questions
Programming in C

Quiz
•
University
10 questions
CS1010 Lab 4

Quiz
•
University
12 questions
Quiz 9: Pointer

Quiz
•
University
15 questions
uNIT 11_14

Quiz
•
University
10 questions
C++ vs Python: A Quiz Introduction

Quiz
•
11th Grade - University
15 questions
DATA STRUCTURES QUIZ

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade