
Pointers in C

Quiz
•
Computers
•
12th Grade
•
Hard
ReNiShA S
Used 6+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is pointer arithmetic in C?
Accessing data stored in pointers
Assigning values to pointers in C
Manipulation of memory addresses using pointers.
Using pointers to perform mathematical operations
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to access the value pointed by a pointer?
&
->
.
*
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of a pointer variable in C?
4 bytes (on a 32-bit system) or 8 bytes (on a 64-bit system)
10 bytes
2 bytes
16 bytes
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a null pointer in C?
A null pointer is a pointer that points to a random memory address.
A null pointer is a pointer that points to the address 0.
A null pointer is a pointer that does not point to any memory address.
A null pointer is a pointer that points to a non-existent memory location.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about pointer to functions in C?
A pointer to a function in C is a variable that stores the value of a function.
A pointer to a function in C is used to call a function directly.
A pointer to a function in C is a data type that can only store the address of a function.
A pointer to a function in C is a variable that stores the address of a function.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a pointer to structure in C?
To store the memory address of a structure and access its members using the pointer.
To perform arithmetic operations on a structure
To create a copy of a structure
To allocate memory for a structure
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to access the members of a structure through a pointer?
*
.
->
::
Create a free account and access millions of resources
Similar Resources on Wayground
48 questions
BTEC Fundamentals of Computer Systems (student questions)

Quiz
•
10th Grade - University
48 questions
Understanding Computing Systems and Software

Quiz
•
7th Grade - University
55 questions
Exploring Computer Science Unit 1 Review

Quiz
•
9th - 12th Grade
45 questions
Pemrograman Dasar_X_PAS_24_25

Quiz
•
10th Grade - University
53 questions
R050 Topics Quiz

Quiz
•
9th - 12th Grade
50 questions
Principles of Information Technology Semester Totalizer

Quiz
•
9th - 12th Grade
50 questions
Latihan Soal Multimedia

Quiz
•
12th Grade
50 questions
23-24 Cybersecurity I Semester 1 Exam Review By Mr. B

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade