* symbol has to be used before the var name but In Pointers topic it is written that we Can use it anywhere. Please explain. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

* symbol has to be used before the var name but In Pointers topic it is written that we Can use it anywhere. Please explain.

14th Oct 2017, 8:41 AM
SHIVAM SALUJA
2 Réponses
0
it can be placed next to the data type, or the variable name, or in the middle. Like this: int* p; int * p; int *p;
22nd Oct 2017, 11:32 AM
Ahmet
0
Okk thnxx a lot
10th Nov 2017, 9:47 AM
SHIVAM SALUJA