In C and C++ programming languages, which symbol is used to access the value stored at a memory address:
- @
- #
- %
- *
Explanation
In both C and C++ programming languages, the symbol used to access the value stored at a memory address (dereferencing a pointer) is the asterisk (*).
* and & are the operators used in pointers.
* gives us the value stored at a particular address
whereas “ & “ gives us the address of the variable
Related MCQs
فل ڈوپلیکس ٹرانسمیشن میں ڈیٹا کس طرح منتقل ہو سکتا ہے؟
- One direction only
- Both directions simultaneously
- Alternate directions
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
مندرجہ ذیل میں سے کون سی غیر مستحکم میموری ہے؟
- RAM
- ROM
- Cache
- Both A and C
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر میں آپریٹنگ سسٹم کا بنیادی مقصد کیا ہے؟
- To make the most efficient use of the computer hardware
- Manage computer hardware and software resources
- To run application software
- All of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ہائپر لنک داخل کرنے کے لیے کون سی شارٹ کٹ کی استعمال ہوتی ہے؟
- Ctrl+S
- Ctrl+M
- Ctrl+K
- None of the above
اس سوال کو وضاحت کے ساتھ پڑھیں
درج ذیل میں سے ونڈوز میں فائل مینجمنٹ ٹول کون سا ہے؟
- File Explorer
- Task Manager
- Control Panel
- None of these