No difference but if we use scanf function instead of gets, it reads only till white space character only in strings, it is not able to read whole string.
Waitttt why in the found=strstr(a,b); the found has no *? That means its storing the address of whatever outcome the strstr got right? And that's not what we wanted right
It is one of the best tutorials, thank you for explaining so well:))))
U have a such good subject knowledge and good explanation
Great job super useful
Great madam,please keep on do more on files in c
Can we use scanf also.instead of gets. Is their any difference in functioning..?
No difference
No difference but if we use scanf function instead of gets, it reads only till white space character only in strings, it is not able to read whole string.
Waitttt why in the found=strstr(a,b); the found has no *? That means its storing the address of whatever outcome the strstr got right? And that's not what we wanted right
S exactly. It's wrong
Mam u r awesome
What if the input is given as "how are you harish "in the main string?..and we search for harish?..it shows error how do we fix it in strstr() func?
In if stmt first printf u gave three control strings with a ,b and found-a I.e. it prints the entire string in a and b
5:17
Madam strrev comment is not working. I don't know why?
🙏🙏🙏🙏
❤️.
If (b==found)
Last string samj nahi aayea😢