Thank you sir for giving me this much knowledge i just want to correct the first code of palindrome using string fuctions int main() { char a[50],b[50],c[50]; int i; printf("Enter string "); gets (a); strcpy(c,a); strrev(a); strcpy(b,a); printf("reverse number is %s",b); if(strcmpi(c,b)==0) printf(" Yes pallendrom"); else printf(" Not pallendrom"); return 0; }
Flag is simply a variable whose value we set to 0 then if the condition is met true its value is set to the integer we want. and then we use it to check the other conditions. flag is simply a logic we create to solve questions, except flag of flag we can use anything variable name we want which must obey variable naming rules. hope you understood that.
I have started Java tutorial, and will upload video almost every day at 7pm in the evening. Find the playlist link below: ruclips.net/p/PLmRclvVt5DtnqhXTJwd-oqVRwO3bLZCGV
I have started Java tutorial, and will upload video almost every day at 7pm in the evening. Find the playlist link below: ruclips.net/p/PLmRclvVt5DtnqhXTJwd-oqVRwO3bLZCGV
Sir build in function wale program mein error aarhi hai b=strrev(a) ; ye wali line mein
Sir please reply
Thank you sir for giving me this much knowledge
i just want to correct the first code of palindrome using string fuctions
int main()
{
char a[50],b[50],c[50];
int i;
printf("Enter string
");
gets (a);
strcpy(c,a);
strrev(a);
strcpy(b,a);
printf("reverse number is
%s",b);
if(strcmpi(c,b)==0)
printf("
Yes pallendrom");
else
printf("
Not pallendrom");
return 0;
}
Wrong hai
Sir ur teaching is excellent 👌
Thanks😊
Ur vdos are very helpful thnq 😊 sir
Glad to help you Neha!
sir this step is sowing an error
b= strrev(a);
please tell how to resolve.
There is a mistake.....
We have to use one more function i... e.., strcpy
Hi Anand, concept of reverse is a nice and different concept. We didn't get it in my classes👍🙂🙂🙂
Great 👍
Sir while solving this question using built in function in turbo c++ , one error arises i.e L value required. Please reply
Same error compiler showing in my. Computer
sir ap bhut acha parhta ha👍
🙂
insted of b[i] you have to use b[j] when you are comparing two string.
awesome tutorial sir
Thanks😊
Being a good coder you should wark in MNCs !
May i know reason why you had not apply in companies
Good sir ji
Thanks Rizwan.
nice video sir
Keep watching🙂
Very nice
Thanks🙂
👌nice
🙏
Nyc sir ......
Thanks Navneet.
Nice
Thanks🙂
Nice video👌
Thank you so much 😀
Sir string function programs not working
Sir is program main error show ho rahi hain.
When you are doing reverse you are using b[j] but when you are comparing then you are using b[i]. Why are you doing so?
we should compared a[i] with b[j]?
Its showing error in this line (b=strrev(a)),
instead write this:-
gets(a) ;
Strcpy(b, a) ;
Strrev(b) ;
Sir I have a doubt :what is the concept of flag ?
Flag is simply a variable whose value we set to 0
then if the condition is met true its value is set to the integer we want.
and then we use it to check the other conditions.
flag is simply a logic we create to solve questions, except flag of flag we can use anything variable name we want which must obey variable naming rules.
hope you understood that.
Run ni ho rha ye
Sir java ka tutorial ka video banaeya
I have started Java tutorial, and will upload video almost every day at 7pm in the evening. Find the playlist link below:
ruclips.net/p/PLmRclvVt5DtnqhXTJwd-oqVRwO3bLZCGV
@@codeitup ok thanks sir
Palindrome me 1 vala jo code hai vo wronge hai pahle ap khud run karke dekiye fir dusro ko sikhaiye ..
Plzzzz sir
I have started Java tutorial, and will upload video almost every day at 7pm in the evening. Find the playlist link below:
ruclips.net/p/PLmRclvVt5DtnqhXTJwd-oqVRwO3bLZCGV
sir this step is sowing an error
b= strrev(a);
please tell how to resolve
b==strrev(a);