What is pointer variable or internal pointer in C? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is pointer variable or internal pointer in C?

C language

2nd Aug 2022, 9:52 AM
Suraj Joshi
7 Answers
+ 1
"Internal pointer" sounds interesting. Can you share a link to where you read about it the first time?
2nd Aug 2022, 11:51 AM
Ipang
+ 1
Ipang i saw it in c playlist of jenny's lecture YouTube channel. Lecture number 49
2nd Aug 2022, 1:32 PM
Suraj Joshi
+ 1
Ipang 7:30
2nd Aug 2022, 2:28 PM
Suraj Joshi
+ 1
Okay, I saw it. But I'm sorry I can't quite explain it cause she speaks rather fast, and I didn't really catch what she meant by saying internal pointer. Don't worry though, someone will light your way eventually ...
2nd Aug 2022, 2:38 PM
Ipang
+ 1
Ipang thankyou🥰
2nd Aug 2022, 3:00 PM
Suraj Joshi
+ 1
Pointer variable is a one kind of variable that points another variable. It points another variable by storing address location of that variable. To declare pointer, you need to use * sign followed by meaningful variable name. Suppose, int a = 10; // variable declaration int *p; // pointer declaration p = &a; // p store the address of a *p = 10 // *p equals to 10, means *p indirectly access a variable value by storing address location of a. In C by default array name acts as a pointer to first element of the array. That may be called as internal pointer.
4th Aug 2022, 2:19 AM
Mehedy Iraq
Mehedy Iraq - avatar
0
You mean this one? https://m.youtube.com/watch?v=ZxqOvg05O6w&list=PLdo5W4Nhv31a8UcMN9-35ghv8qyFWD9_S&index=49 In which minute is it exactly? Or did you mean another video?
2nd Aug 2022, 2:25 PM
Ipang