Explore topic-wise MCQs in C# Questions & Answers Unsafe code & Pointers Basics.

This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your C# Questions & Answers Unsafe code & Pointers Basics knowledge and support exam preparation. Choose a topic below to get started.

1.

Consider an integer pointer . *a.++*a will increment ___________ while *a++ will increment __________

A. value at a, address contained in a
B. value at a,value at a
C. address contained in a, address contained in a
D. address contained in a, value at a
Answer» B. value at a,value at a
2.

Among the given pointer which of the following cannot be incremented?

A. int
B. char
C. float
D. void
Answer» E.
3.

Which among the given operators is referred to as address of operator?

A. *
B. ^
C. &
D. ~
Answer» D. ~