0

pointers

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

22nd Oct 2021, 10:23 AM
Mohamed Hatem
Mohamed Hatem - avatar
8 Respostas
+ 3
Pointers are little tricky you need to do practice search geeksforgeeks pointers topic this site will help you
22nd Oct 2021, 10:31 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 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
22nd Oct 2021, 12:28 PM
Rupali Haldiya
Rupali Haldiya - avatar
+ 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.
23rd Oct 2021, 3:44 PM
ACE
ACE - avatar
+ 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.
23rd Oct 2021, 7:40 AM
Mehran
Mehran - avatar
+ 1
Pointers use to access memory locations, It is an address of a memory location,
23rd Oct 2021, 3:23 PM
N. Vimukthi Dilshan Fernando
0
Rupali but what will I do with that? Why is it important
22nd Oct 2021, 3:03 PM
Mohamed Hatem
Mohamed Hatem - avatar
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
23rd Oct 2021, 4:42 AM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar
0
How do I reply to a specific person? Martin😂
23rd Oct 2021, 10:17 AM
Mohamed Hatem
Mohamed Hatem - avatar