Thank you so much sir mene itna search kia kahi par ek jagah par concept nahi Mila thank you so much sir 👍👍😃😃😃😃😃😃😃😃😃😃😃ek hi jagah par with or without using string functions ka apne btaya 👍👍👍🔥🔥🔥
Sir if my program is to convert string in lower case without using strlwr() function and user input the string also in lower case. Then this code will not work, it will convert it in upper case. What will be its solution please reply sir 🙏🙏
Suppose a[i] is 'A'. This is a character literal. So, a[i] + 32 = 'A' + 32 = 65 + 32 = 97 This happened because int is a higher data type than char, so the char value is converted to a int value which is actually its ASCII value. Now a[i] = a[i] + 32 => a[i] = 97 => a[i] = 'a' 97 represents the character 'a'. a[i] must be a character as it is a char array. So, 97 is automatically converted to 'a' and 'A' becomes 'a'. Same is from lower to upper. You have to subtract 32 from it. The different between the ASCII values of a and A or b and B or c and C or z and Z is always 32.
Sir last example mein I want RAM KUMAR full. Maine puts(a) lgaya fir bhi it is printing only RAM. Why? What is the solution to print whole name?? please helpp
It's my coding started with you ❤
Hi Anand, thank u for this, I missed my days in class by this video 🙂🙂🙂👍👍
My pleasure 😊
All program very helpful sir
Glad to help you!
You understand so well that programming now looks more good
Very Glad to Hear That..
I follow you regularly. You are great.
Thanks Abhishek...
You are a best teacher
🙂
Nice explanation sir
Thanks and welcome🙂
Thank you so much sir mene itna search kia kahi par ek jagah par concept nahi Mila thank you so much sir 👍👍😃😃😃😃😃😃😃😃😃😃😃ek hi jagah par with or without using string functions ka apne btaya 👍👍👍🔥🔥🔥
Most welcome Anisha !
Very knowledgeable video.
Glad it was helpful!
Nicely explained sir👌
Thanks and welcome🙂
technical guruji =chaliye shuru karte hai
codeitup sir=chaliye start karte hai
Mind Blowing ! You made me laugh ! 😇
super explanation !
Thanks😊
Thanks Sir❤
Most welcome!
Sir if my program is to convert string in lower case without using strlwr() function and user input the string also in lower case. Then this code will not work, it will convert it in upper case. What will be its solution please reply sir 🙏🙏
Very good..
Thanks🙂
Sir aap bihar me kha se ho.
nice video👌
Thank you so much 😀
sir apki playlist dekhne k baad kya krna hai
Sir jo last mein a[I]+32 hota hai kis logic se hota hai mtlb
a+32=A j kya logic hai
Lower case to upper case - a[i]=a[i]-32
Upper case to lower case - a[i]=a[i]+32
@@codeitup sir I couldnt get the logic
means a[i] is a character but 32 is int
btw thanks for replying the message
Suppose a[i] is 'A'. This is a character literal.
So, a[i] + 32
= 'A' + 32
= 65 + 32
= 97
This happened because int is a higher data type than char, so the char value is converted to a int value which is actually its ASCII value. Now
a[i] = a[i] + 32
=> a[i] = 97
=> a[i] = 'a'
97 represents the character 'a'. a[i] must be a character as it is a char array. So, 97 is automatically converted to 'a' and 'A' becomes 'a'. Same is from lower to upper. You have to subtract 32 from it. The different between the ASCII values of a and A or b and B or c and C or z and Z is always 32.
@@randomshorts1729 just go through Ascii value once
Nyc
Thanks 🤗
Sir please provide me a link for all the above previous programs
Please find the C playlist list where you will find step by step tutorials:
ruclips.net/p/PLmRclvVt5DtksgReOH3s7R1_cb1QA8vrb
@@codeitup thankyou soo much sir👍
Most welcome Vinisha, pls share this channel with all your friends...
Sir last example mein I want RAM KUMAR full. Maine puts(a) lgaya fir bhi it is printing only RAM. Why? What is the solution to print whole name??
please helpp
Read the name using gets() function.
@@codeitup gets(a) hi lgaya h sir..fir bhi nhi horha
@@codeitup int main()
{
Char a[50];
int i;
Printf("enter string:");
Gets(a);
For(i=0; a[i]!= '\0' ; i++)
a[i] = a[i]-32;
Puts (a);
Return 0;
}
Paste your program here.
@@codeitup sir ab it is working fine. I dont know how. But ab space ka lowercase "@" print ho rha hai.
RAM KAPOOR = ram@kapoor
🔥
🙂
👍💯
Thanks Rizwan..
😌
🙂
SIR space ki jagah @ a rha hai 🙂🙂