What is the relation between ' * ' and ' & ' operator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the relation between ' * ' and ' & ' operator

When to use them

27th Nov 2016, 8:38 PM
MAHESH UMALE
MAHESH UMALE - avatar
1 Answer
+ 1
the '*' operator is define when you declare a pointer and it returns the value of the variable that you pass it's memory address to the pointer with the '&' operator. example: int x=5; int *p= &x;
27th Nov 2016, 9:13 PM
Nima Moradi
Nima Moradi - avatar