Deniz
It does not matter
Deniz
I just want improve myself on c++
Deniz
Oh thanks a lot!
Deniz
Thanks!
Mat
Oh thanks a lot!
Think about something you'd like
Mat
Something you would see
Deniz
I think ı can do sudoku 🧐
Mat
A sudoku resolver?
Stefan
👏👏👏👏
Stefan
https://lwn.net/Articles/777594/
Deniz
A sudoku resolver?
I thought game but that too makes sense
S.
In an expression, for int a[] = {1, 2, 3, 4, 5, 6};, a would decay to int*, &a would decay to int (*)[6]
Anonymous
Anonymous
Hii
Anonymous
Welcome
Walter
Any book suggestions for c++?
Walter
Book Name please??
Anonymous
#cpp
Anonymous
Then best book for c
Farhan
Let us c yashwant kanetkar.
Anonymous
What is pointer in c language
Anonymous
What is pointer in c language
Pointer are used to store the address location
Anonymous
What is pointer in c language
Address of another variable i think
Neon
Then best book for c
Let us c. Orr mastering in c
Anonymous
Ok
Anonymous
Tq
Neon
What is pointer in c language
Pointer is a variable which stores the address of the another variable
Neon
Tq
🙏
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Guys
Anonymous
Lol
MᏫᎻᎯᎷᎷᎬᎠ
Eventually he'll know that
Neon
Pointers are more than that
Yahh also alow you to handle unlimited amount of data
MᏫᎻᎯᎷᎷᎬᎠ
Pointers are little bit confusing for beginners So the explanation is perfect for him
MᏫᎻᎯᎷᎷᎬᎠ
You don't wanna tell him about function pointers right now
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
Yeah that's true, only to be clear
MᏫᎻᎯᎷᎷᎬᎠ
Yup
Neon
Then y don't u explain
Neon
What is pointer..
Neon
Explore the whole topic
S.
pointer is a variable to store "address"
Neon
What I have explained
Neon
See that.. is there anything else that everybody is saying more more
Anonymous
But for a beginner this explaination fits, lunatic is right.
Anonymous
K
Dan
Imagine your hand to be the pointer - when you point towards an object like a cup or a book, then that direction in which you point your hand can be considered to be the address of that object. I'm a beginner myself, but this is what I've made of it. In a slightly freakish manner, you can also imagine that the pointer can "indicate" values of the object - if you think of the object to be 1, then you can show the value "1" with your fingers on the hand. Forgive me for the crude method of explaining it.
Anonymous
Grt
Anonymous
Hii
Anonymous
Where did u lear all this bro
Anonymous
I mean with
Anonymous
Explanation
Anonymous
🙏
Neon
🙏
Hey sb
Neon
U have left that group python
Talula
U have left that group python
I guess because python sucks.
Anonymous
Yes
VJ
#include<stdio.h> int main() { char *s[] = { "knowledge","is","power"}; char **p; p = s; printf("%s ", ++*p); printf("%s ", *p++); printf("%s ", ++*p); //getchar(); return 0; } how the printf statement works in above case???
Anonymous
I think
MᏫᎻᎯᎷᎷᎬᎠ
One will not understand pointers completely until they know there uses in practical Like When you tell a beginner that it points to an address If they weren't super smart, they'll be confused Like "yeah points to an address, then what?"
Anonymous
Yeah
MᏫᎻᎯᎷᎷᎬᎠ
And the picture get clear
MᏫᎻᎯᎷᎷᎬᎠ
He'll probably test passing a variable by value to the function
Talula
Pointers are something you understand perfectly if you know assembly code.