Pointer Variables in Programming Languages
In C and C++ programming languages, which symbol is used to access the value stored at a memory address:
Answer: *
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
This question appeared in
Past Papers (8 times)
Account Officer Past Papers, Syllabus, Jobs (2 times)
PPSC 5 Years Past Papers Subject Wise (Solved with Details) (4 times)
PPSC Past Papers (2 times)
This question appeared in
Subjects (1 times)
COMPUTER (1 times)
Related MCQs
- Data are stored in a random access memory (RAM) during the _____?
- In systems with virtual memory, programs are able to address more memory locations than are actually provided in main memory, also called:
- Volatile memory is computer memory that ____ power (electricity) to maintain the stored information.
- Which type of register holds the memory address of the data being read from or written to the memory?
- In C programming, the symbol used for logical AND operator in a statement is _____?
- High-level programming languages are classified into ______ categories.
- In which memory, all materiel are stored so that we can retrieve it later on
- What is the correct syntax to access the value at address ptr in C, where ptr is a pointer?
- Which of the following is a way to access secondary memory?
- A stored link to a Web page, in order to have a quick and easy access to is later, is called ?