Concept Academy of Competitive Exams

Computer · Hardware/Software/OS · 2024

In C and C++ programming languages, which symbol is used to access the value stored at a memory address:

  1. A@
  2. B#
  3. C* (asterisk) ✓
  4. D& (ampersand)

Correct answer: C · * (asterisk)

In C and C++ the asterisk * dereferences a pointer, giving the value at the address it holds. The ampersand & gives the address.

About this question

SubjectComputer MCQs
TopicHardware/Software/OS
PaperGK portions of 2024 papers: Educator (Special Education), Assistant Director (Accounts) / Lecturer Psychology (14 Jul 2024), Lecturer Punjabi (13 Jul 2024) (matched by page, approximate)
Year2024
Practise more Hardware/Software/OS MCQs

Study mode with answers, or a timed test with your score, on the free app.

Study this topic Take a test on it

More Hardware/Software/OS MCQs

All Hardware/Software/OS MCQs › · All Computer topics › · The whole GK portions of 2024 papers: Educator… paper ›

Computer book cover, 2027 Edition, Concept Academy
Learn it properly: Computer

Complete in four parts: Computer Fundamentals · Software, Operating Systems and Programming · Microsoft Office · Internet, Networks and New Technology · A complete course for the PPSC…

Rs 1,200 Rs 950 12.12 Sale · 20% off · eBook · the first 86 pages are free

See the book Read free