pointers | Sololearn: Learn to code for FREE!

0

pointers

Can someone explain pointers simply? I have checked a lot of videos but couldn't understand

10/22/2021 10:23:52 AM

Mohamed Hatem

10 Answers

New Answer

+3

Pointers are little tricky you need to do practice search geeksforgeeks pointers topic this site will help you

+3

Printers are just another kind of variables, which can store address of another variable and can change value of that variable permanently. When we use pointer as parameters in functions then it's called Call by Reference. Asterisk (*) is used to define a pointer. You need to use adress of operator (&) to store address of another variable. For example: int x=10; int *ptr = &x; *ptr = 20; printf ("%d ",x); //output 20. printf ("%d ",*ptr); //also 20

+3

ultra dead meme use @ and type name to call a specific person. @ here is like a pointer pointing to the name of the person.

+1

Martin Taylor really?!!! What do those two books say about pointers? I think a maximum of ten pages is enough to fully explain them.

+1

Pointers use to access memory locations, It is an address of a memory location,

0

Rupali but what will I do with that? Why is it important

0

Pointer is just a variable like other variables but it is used to store address of other variables. So, you will be able to access that variable using it's address

0

How do I reply to a specific person? Martin😂