Interviewer And Interviewee Guide

Data Structures Interview Question:

What is significance of ” * ” ?

Submitted by: Administrator
The symbol “*” tells the computer that you are declaring a pointer.
Actually it depends on context.
In a statement like int *ptr; the ‘*' tells that you are declaring a pointer.
In a statement like int i = *ptr; it tells that you want to assign value pointed to by ptr to variable i.
Submitted by: Administrator

The symbol “*” is also called as Indirection Operator/ Dereferencing Operator.
Submitted by: Administrator

Read Online Data Structures Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.