Anonymous
Anonymous
yep, very simple
printf("%p\n",strstr("Flying","Fly"))
Anonymous
can i do something like this
I_Interface
can i do something like this
I'm using C++ for learning, not C, sorry) Perphaps it will, don't be afraid to try it by yourself If it doesn't work, debug then and find a way to fix :)
Anonymous
still want a deeper understanding of memory management
Anonymous
i will get back into c++ soon enough
I_Interface
Anonymous
Good luck with that.
no luck , just work
M
Hello, Does a volunteer teach us the language C from scratch please ?
Francisco
M
Doubt it, unless you're willing to pay
Let us cooperate and benefit everyone
Anonymous
Hello, Does a volunteer teach us the language C from scratch please ?
if you're new into programming then learn python first otherwise read "The C programming language" book
Dima
the worst decision to do ever
M
Yes but i want To learn C first
Anonymous
the worst decision to do ever
why? it's easier and introduces to OOP
Dima
Nah
Anonymous
Nah
try to teach pointers and why they are needed to someone who knows nothing about programming
Dima
I am not talking about cxx
Dima
anything but not python at first is much better
Anonymous
Yes but i want To learn C first
it is harder but you're free
Anonymous
anything but not python at first is much better
there is a reason why python is considered as the baby language
M
the worst decision to do ever
I'm agree with you
Dima
Anonymous
I'm agree with you
again you're free but don't get surprised if you find it too difficult to understand
M
I already studied C language but I want to improve my level because I need her to do my graduation project that's why I have to study the C language and I have not pytgon study time firstly
Razesh
If i know c language alredy... Then should i learn c++ concepts ?
Razesh
Will it be benficial for me ? Or should i go for python ?😅😅
Foxner
Maybe learn both, but if you have background in C, then I'd suggest learning C++ first.
Nishant
Rashi
Can somebody give me an explanation of answer to this question
Rashi
What don't you understand?
According to me answer should be 4 1
Rashi
Bcoz first time when f() is called from for loop in main 7 must have been returned , second time 6 , Third time 5, and 4th time 4
Rashi
So 4 must have been printed
Anonymous
The right answer is C
Rashi
No
Anonymous
Yes
Rashi
Right answer is B for sure
Anonymous
Check it with compiler :)
Rashi
It's written in the ppt too
Rashi
I just wanted to know the explanation
Anonymous
Right answer is B for sure
It is not Check the answer with compiler and come back
Anonymous
Oh
Anonymous
I'm sorry
Rashi
It's okay
Anonymous
It's B for sure
Anonymous
But definitely not 4 1
Rashi
Yeah I have understood now
Rashi
This means firstly the first two f() in for loop will be called
Rashi
Then f() in body of for loop will be called
Rashi
And then f() in updation part
Anonymous
First call — for-loop initialization part Second — for-loop condition Third — body Then: "updation part", condition, body
Anonymous
@CourageousTouch, you got it?
Rashi
Yep
Rashi
Thanks much 😊
Anonymous
Thanks much 😊
You're welcome, sorry for being rude
Rashi
No it's fine ☺️
Rashi
I have one more doubt 😅
Rashi
What actually does void (*wap)() means here ?
Anonymous
What actually does void (*wap)() means here ?
Probably dereferencing function pointer and calling the function
Rashi
Probably dereferencing function pointer and calling the function
There is something called function pointer?
Anonymous
I have one more doubt 😅
It seems not a good resource Because things that called statements there are actually expressions
Anonymous
There is something called function pointer?
Yes wap variable is a function pointer
Rashi
Yes wap variable is a function pointer
I need to read about it then
Anonymous
I need to read about it then
Use your favorite search engine for that
Rashi
Sure . Thanks
Anonymous
Sure . Thanks
Basically it is just a pointer that points to function And you call that function via the pointer But it has weird syntax
Rashi
😅
Artöm
If i know c language alredy... Then should i learn c++ concepts ?
Do you really mean concepts from 20? Start with classes and std
Anonymous
Do you really mean concepts from 20? Start with classes and std
No, I don't think so I think by concepts he meant basics
Razesh
Tnq all i feel motivated 😍😍