Great explanation! One suggestion, it would be better if we keep more semantic variable names rather than using single letters, Just makes the code more readable.
sir aapne last mein 16 tak check kyun kiya ye samjha but, suppose in this string suppose main string mein 16 Cross hone ke baad bhi last 3 or 2 or 1 character match ho gye, but hume chahiye 4 characters wala substring match ho jaaye, then toh 1st for loop ko 17th or 18th or 19th Character pe match hone ke baad bhi koi fayda nahi hoga, because substring we want is of length 4. toh loop end kar dena chahiye na?
Sir aapke level 0 acheive karne k baad ye program easily ban gaya.THANK YOU SIR!!Lekin sir level 1 data structure ke programs banana thoda hard pad raha hai
sir kya aapne "Pointers and Structures" ke practice videos nhi banaye hain . Maine aapke saare videos dekh liye hain. Kya Premium channel pe isse Kuch zyada sikhne ko milega. Is there more C-Programs on the Premium. Please Reply ........ My Respected Sir.
In the 2nd for loop, when the substring matched at index 8, "j" starts from 0 and ends at 3, but because of the condition "j++", it became '4', and condition of 2nd for loop becomes False. And also l = 4 initially. So ( j == l) will be true.
La jawab sirji, appka algorithm he bilkul sahi hai. Bhout badiyaa. Dhanywaad
Apne Bahut achhe se btaya h sir g …..or m apne har us dost ko channel ke bare me btaunga jo achhe se C sikhna chahta h.
Thank you sir …
Thankyou very much sir, clear explanation 🙏
Great explanation! One suggestion, it would be better if we keep more semantic variable names rather than using single letters, Just makes the code more readable.
Very nicely explained sir.I was struggling with this for a long time.
U are truly a gem ❤️
Thank you sir 🙏
I really appreciate your crystal clear and lucid explanation Sir !!
Nice explanation 👍
Thanks sir for provide me program logic
Very nice explanation Sir, I totally understood the program clearly.
nice explaination
Aapki bt alg h sir gjb ho aap big fan
Thanks a lot sir, I learnt programming because of your simple and awesome explanation :)
Glad to hear that
c# Which book would be good for reading
you are the best teacher in the world
It was a nice experience while coding it all by myself.
Thnk u so much sir, concept acha h but thora Tricky h sir. Ar bhi dusre ways h isko asani se implement krne ke.
sir aapne last mein 16 tak check kyun kiya ye samjha but, suppose in this string suppose main string mein 16 Cross hone ke baad bhi last 3 or 2 or 1 character match ho gye, but hume chahiye 4 characters wala substring match ho jaaye, then toh 1st for loop ko 17th or 18th or 19th Character pe match hone ke baad bhi koi fayda nahi hoga, because substring we want is of length 4. toh loop end kar dena chahiye na?
Sir aapke level 0 acheive karne k baad ye program easily ban gaya.THANK YOU SIR!!Lekin sir level 1 data structure ke programs banana thoda hard pad raha hai
Prayag Parikh hey can u tell me how to pay for premium channel
4 years baad kya haal hai, matlab koi google ka software dev bne ki ni??
Just asking for fun!
@@atTheRateMinus1 Working in TCS
Planning to go USA in 2022!!
Thanks for asking👍
@@prayagparikh8020 wow, soo thats in just 4 years of practice
@@atTheRateMinus1 4 yrs is a big time! Be consistent
substring is called as portion of string ?
Thank u sor
Tommorow is my paper and i am stuck in this program while studying. Thank you sir
Kis subject ka h brother
Ae mere vatan cse 1st year
Subject kya h aaj
sir please make videos of conversion like binary to hexa or to octa or vise versa
vimal radadiya visit computer fundamental playlist...
sir i ke loop me termination condition me koi yeh sign hai hi nhi loop kaise chal rha hai
#include
int main()
{
printf("excellent video sir!");
return(0);
}
@@anshu893 you dont need braces if you have only one statement under the block......i guess??
Great sir..... weldone 👍
Sir can this program also return the string and also the index where from the substring is started
A string is : this is houseful.
And I'll give input:use
And I get output as houseful
Plzz sir bata dijiye
sir why you are using additional k,we can use i value instead of k right
k is index of main string(str), k should change in the second for loop to check if four characters are equal every time. I'm an year late lol.
Pls make some programs for structure
sir kya aapne "Pointers and Structures" ke practice videos nhi banaye hain . Maine aapke saare videos dekh liye hain. Kya Premium channel pe isse Kuch zyada sikhne ko milega.
Is there more C-Programs on the Premium. Please Reply ........ My Respected Sir.
Sir this code is not working if substring is found more than once in the main string.
Return ki jagah koi variable leke increment karayo phir baad me return karayo use check kar ke ki bo zero se bada ho nhi to -1kara do return
Please made a video for multiple occurrence of substring in the main string
Sir, why you're taking k=i?
sir me Nios se 12th de rha hu to kya me kisi ache cllg se bca or mca kr skta hu
plz rply sir
Sir Please make a video on The Topic " Operator Overloading Using Friend Function "
Akankshya sahu watch c++ by saurabh shukla {lecture 12 friend function part 3,4,5}
Thanks
Sir apne i ke loop me i+l-1 kuy likha ..phle to apne sirf i likha tha
Sir KMP algo se or ache se ho sakta hain...
Sir app substring Kya hota haii ye smjahye hiinii
Please launch tutorial series for python. From a long time, no programming language series has been added
bohot bohot badiya
Sir hamne I ki value ko 16 pe hi rok dia but what if wo last 4. Words hi substring ho tho kya karenge
Inner for loop me wo substring find ho jayegi because inner loop 16 to 19 tkk check hoga
Kal ki video me maine jo comment aapko bheja tha uska aapne reply nahin Diya jisme bhu aur bhi(iit) se mca Kar ne ke baare mein poocha Tha maine
Sir plz tell me agar k nahi letae tab bhi toh program ho jata
Sir c++ me copy constructor diagram se explain ker dijiye plzz.
This code is showing error sir
'j' ka max value to 'l-1' hoga to fir if(j==l) kaise ho sakta hai
In the 2nd for loop, when the substring matched at index 8, "j" starts from 0 and ends at 3, but because of the condition "j++", it became '4', and condition of 2nd for loop becomes False. And also l = 4 initially. So ( j == l) will be true.
Sir when you launch your Python series
double linked list ke video kaha par h. sir
♥️♥️♥️
Sir c++ me gui based program kese bnte hai
WITHOUT TAKING ANY DEGREE
👌
Can anyone tell how to pay for premium channel
SIR KYA ME ISS CHANNAL SE PROGRAMMING SIKH KAR BADA PROGRAMMAR BAN SAKTAHU
Sir,plz tell about anagram ..
Sir, pointer ka solution upload kijiye na sir please🙏🙏
🔥🔥
I need video on KMP algorithm.
Do we really need a video recording for finding sub string ??? If that is the case how many videos should i have to upload for my programs
❤️
Sir y smajh nhi aya