in Technology by
What is Indirection or Dereference Operator ( * )?

1 Answer

0 votes
by

t is a unary operator that is used in the declaration of the pointer and accesses a value indirectly, through a pointer.  The operand of the indirection operator should be a pointer and the result of the operation is value addressed by the operand (pointer).

Let see an example,

int *iPtr; // Use of indirection operator in the declaration of pointer
a = *iPtr; //Use of indirection operator to read the value of the address pointed by the pointer
*iPtr = a; //Use of indirection operator to write the value to the address pointed by point

Related questions

0 votes
0 votes
    What is Indirection and Increment/Decrement operators with a pointer in C?...
asked Jan 24, 2021 in Technology by JackTerrance
+1 vote
    What is indirection in C-programming?...
asked Nov 8, 2020 in Technology by JackTerrance
0 votes
    Which operator can be used to determine the size of a data type or variable?...
asked Jan 18, 2021 in Technology by JackTerrance
+1 vote
    Which operator can be used to determine the size of a data type or variable in C Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    I am trying to add an if condition; Idea is If I enter the input as print or text with 4 in ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    I am trying to add an if condition; Idea is If I enter the input as print or text with 4 in ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    I am trying to add an if condition; Idea is If I enter the input as print or text with 4 in ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    function add() and operator + gives the same result true Or f plzzzz give me answer fast……. dud Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    < = is a less than or equal to operator. is it true or false Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    The instanceof operator allows you to determine the type of an object.True or false? Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    Which of the following is the truncation division operator in Python? a) | b) // c) / d) %...
asked Dec 31, 2022 in Technology by JackTerrance
0 votes
    In MongoDB, _________ is the operator limits the contents of an array field from the query. (1)$Match (2)$elemMatch (3)$slice...
asked May 23, 2021 in Technology by JackTerrance
0 votes
    What is the address of operator ( &)?...
asked Jan 22, 2021 in Technology by JackTerrance
0 votes
    Which operator can be used to access union elements if union variable is a pointer variable?...
asked Jan 18, 2021 in Technology by JackTerrance
...