Please Comment, Subscribe and Click Bell🔔🔔🔔 Icon for More Updates. To learn software course from our experts please register here for online training: goo.gl/HIB0wL
@pragathibodeddula27075 жыл бұрын
Sir I need a program which display sms send and sms received by using functions sir. Please tell me how to write the code. I tried sir but I didn't write that. Please help me sir
@pendekantigouthamraj355 жыл бұрын
sir, please make a video on " printing all permutations of a given string"
@aditisrivastava18064 жыл бұрын
What's the use of strlwr?
@gouravjha20564 жыл бұрын
Call me on 7775918629,I know how to send SMS I was only getting problem in receiving the sms
@Ramesh135794 жыл бұрын
Could you please upload some programmes rather than only concepts so that it will be more better
@pallavgoel38605 жыл бұрын
Attention Viewers, this video is the third part of Strings topic. So kindly watch the first two parts of the topic before watching it.
@anirudhasahu57604 жыл бұрын
thanks man
@abhi_alappadamban4 жыл бұрын
Thanks bro👍
@poojagundi57793 жыл бұрын
Thnkzz man
@pra73643 жыл бұрын
thanks bro
@songanddanceclips28932 жыл бұрын
thanks a lot.... i watched the first program 3 times! should have looked at ur comment b4!
@oanamanaljav5 жыл бұрын
When something sparks in my mind, I just feel that Naresh is the number one. Wanna go to India for IT courses.
@saikrishnarudroju73435 жыл бұрын
you can feel free to come! here they provide good faculty with less prices ..
@oanamanaljav5 жыл бұрын
@@saikrishnarudroju7343
@ENGCS_chetanr4 жыл бұрын
Can anyone tell me where is string handling which he mentioned in video
@harshtripathi12913 жыл бұрын
check ravindrababu ravula lectures ..
@thaladhoni3573 жыл бұрын
@@ENGCS_chetanr strings part 1
@pujaribasvaraj35665 жыл бұрын
Hey Srinivas sir the teachers like you are the reason of why Indians are best in the world !! I was searching for the string functions for so long time i got it from your channel and i understannd it very well thankyou so much for making videos!
4 жыл бұрын
In this lockdown period u r really helpfull in enhancing our programming skills in c language😍😍 GREAT WORK SIR!!!
@ashindc58594 жыл бұрын
hell yeah
@ENGCS_chetanr4 жыл бұрын
Can anyone tell me where is string handling which he mentioned in video plzzzzz
@kumarsaimirthipati81733 жыл бұрын
@@ENGCS_chetanr string part 1&2
@prasanthalajangi78703 жыл бұрын
@@kumarsaimirthipati8173 thanks bro
@shafiullahraihan25245 жыл бұрын
I love this channel.It helps me to get a strong basic in c programming.Thanks for all these video that you upload for C programming.
@sayantidey56906 жыл бұрын
In the first problem i.e. reversing elements of a string, j should be strlen(x)-1. Otherwise it won't give right output.
@pradeepmishra19055 жыл бұрын
Well observed..!!
@theodordumitrache-z7d5 жыл бұрын
Hei, can you explain me why?
@ankitavaibhav40574 жыл бұрын
@@theodordumitrache-z7d because the index starts from 0 ,which is known thing for us. In case of strlen while finding string length it starts from 1. For ex: if the string is "moon", normally index starts from 0 and length is 3 but if we use strlen then it shows length is 4 and this causes error. so in order to avoid that we should use strlen(x)-1.
@chintakayalaaravind87724 жыл бұрын
@@ankitavaibhav4057 thanks for your explanation
@gehadsamir56634 жыл бұрын
No, it will work just fine, as strlen counts the elements until it reaches the null character, in which case it will stop counting. It won't include it with the length
@monikae17216 жыл бұрын
sir, in string reverse program, u said that j=strlen(x). it is wrong, because if we use like this it will give the location of null character, then o/p will be wrong. So we should use j=(strlen (x)-1). Then only it will give the location for the last character of a given string.
@jothishvj173 жыл бұрын
Strlen calculates length of the string excluding null character at the end Ain't it? Edit : I was wrong, u are right
@saurabh_kud3 жыл бұрын
ya without -1 program giving unexpected result
@childgagana45373 жыл бұрын
excatly strlen(x)-1 must be used to get the crt result
@satyamsrivastava87946 жыл бұрын
In example to reverse the string J is holding strlen(x) so for 'NARESH' it would be 6 excluding NULL character. Hence in swapping x[i] needs to be swapped by x[ j-1 ] that x[0] is to be swapped by x[5]. REST IS GREAT
@gunikakaur71004 жыл бұрын
I cannot tell you how grateful I m... Thank you for teaching these topics so so so nicely! I don't know what I would have done if your videos weren't there.... Just so you know... Your videos are the best out there for c.. #Thank you...
@tinku47684 жыл бұрын
Ok
@KP-md2ef3 жыл бұрын
Really, you are great sir . Your teaching technique is very unique. Now, I can easily understand Array, string ......thank you so much ... It is very helpful for me as well as for other students also . Those who are facing problems in C programming language... Once again thank you sir.🥰☺️☺️☺️🙏🙏🙏🙏🙏🙏
@DeFacto944 жыл бұрын
This guy is best programming teacher I ever saw, love him!
@ENGCS_chetanr4 жыл бұрын
Can anyone tell me where is string handling which he mentioned in video
@shahriarniloy1945 Жыл бұрын
@@ENGCS_chetanr this is the third video of the string series alothough it says string-1. string-2 is 1st one, and string-3 is 2nd
@30Phani7 жыл бұрын
At 25:50 x[i]
@sivasairakeshgontla24097 жыл бұрын
True bro
@sing7596 жыл бұрын
yes that is correct
@pramodcharan83425 жыл бұрын
No matter bro
@byrrajuabhilashraju18225 жыл бұрын
Ha yes
@riturajgautam88064 жыл бұрын
Yas
@goyaldeekshant4 жыл бұрын
Here is the complete code of finding length: #include int stringlength(char []); main() { char str[30]; int len; printf("enter the string: "); gets(str); printf("name is %s ",str); len=stringlength(str); printf("length of %s is %d",str,len); } int stringlength(char x[]) { int i=0,count=0; while(x[i]!='\0') { count++; i++; } return count; }
@Ssssakthi5 жыл бұрын
We need to use j=strlen(str)-1;
@venkateshdammala74 жыл бұрын
Yes
@koteswararaogalam88034 жыл бұрын
U r correct broo
@raana24294 жыл бұрын
TQ bro
@aishwarya18954 жыл бұрын
U 'r absolutely correct... I was in the same dilemma😆
@soumyapriyadarshidas83454 жыл бұрын
yes bro
@infinix_114 жыл бұрын
On program reverse all elements in a string we need to len=strlen(str) -1; Because -- if the string is -- "Hey" len is 3, with NULL being 4; Now every array starts with 0 index. Thus H=0, E=1, Y=2, '\0'=3 now if j=strlen=3, Here 3 is NULL Thus when we reverse it, NULL gets the first location. And we try to print it. It gets terminated in the first index itself. I used GDB to figure out the bug.
@telugucomedy31954 жыл бұрын
Yes u r correct...But in Concatenation if we use j=strlen(x)-1.. it's not working..please help with this
@jigarshah91974 жыл бұрын
but strlen function will exlude null character
@soumyajjaldas43194 жыл бұрын
Foolish
@ashtube5454 жыл бұрын
thanks
@xzilyt55474 жыл бұрын
INSTEAD OF USING j=strlen(str)-1 ,use str[j-1] in while loop because if u want to print len in same program it will print 2 instead 3.
@ninnnnnnnnnnnnn5 жыл бұрын
At 15:56 it should be j = strlen(x) - 1; Because in string length it will be included '\0' as a last char in a string, so it will be swapped as well, and it will end up on i[0]! Impossible to work like that! And at 25:46 you have to add another set of brackets on those conditions!
@radhasaradhi59595 жыл бұрын
No need strlen(x)-1..... Already strlen eliminates '\0'
@rishabhkumartiwari97565 жыл бұрын
@@radhasaradhi5959 program is not running madam
@aksharsolanki3284 жыл бұрын
@@radhasaradhi5959 No strlen does swap '\0' in the string to the 1st position, which means it terminates the whole string. Therefore j = strlen( str ) - 1 ;
@sudharanigadde15235 жыл бұрын
Your teaching style is amazing sir.. Everyone can understand...
@garimajain4742 жыл бұрын
No words to gratitude you When no one is there to understand our doubt then it you ,you understand us and solve it
@rosesoulyt36354 жыл бұрын
This is the best KZbin channel to learn C , here we can learn from basic to advanced level with deeply knowledge. Thanks sir,🙏
@brighteducationpallaviraut36755 жыл бұрын
You are so amazing your teaching is best I understand very well
@vysaghthambi16244 жыл бұрын
In reversing we have to put X(j-1). Because j has the length of the string. It's 6 for the first case. So we have to take j- 1. No???
@Deepakfly3 жыл бұрын
The future of programming on youtube. Thanks a lot sir. For providing this course.
@something_different89683 жыл бұрын
great teaching ..every program has a best tutor in youtube.. for C its undisputedly you sir
@boothilaxmi93043 жыл бұрын
Sir you are simply awesome.... from the very first video I am watching all videos and it's very helpful
@ranjimaramadas6904 жыл бұрын
While swapping 2 string we are assigned j as strlen(x), but in string Naresh it comes 6 and in Annie it comes 5. But sir, you take it as 5 and 4? Then how we can take j=strlen(x) ?
@aryanjain95963 жыл бұрын
its wrong we should take: j=strlen(x) j=j-1
@prateek54633 жыл бұрын
Yes, it's wrong, we should take j=strlen(x)-1
@rojalinbehera73293 жыл бұрын
Wow sir! You just simply makes us understand every complex thing @Naresh i Technologies
@vikraammaarkiv89475 жыл бұрын
Thalaiva u r great 🙏🙏🙏🙏🙏🙏🙏🙏🙏
@gbn74912 жыл бұрын
Sir thanks for your valuable words but I'm having small doubt at 25:53 seconds part in if condition we used && it means it should satisfy both conditions but it is not always possible as any letter is not =Z. So can we use 1)|| or symbol in it or 2)(x[i]>='A' && x[i]
@faresrabie31452 жыл бұрын
|| will make the condition true for any ASCCI > 'A' i think your second solution satisfy the example
@ronnysingh95033 жыл бұрын
Siiiirrrrr your logic is pure magic....very easy and understandable.....😁....thank you so much....🤗
@kanchanasiddhe58646 жыл бұрын
Excellent teaching sir
@ahmedtazeem81304 жыл бұрын
15.52 ... j= strlen(x) will give location of null character ... Instead use j = (strlen(x)-1).
@goosebumpslol70493 жыл бұрын
Sir u r the best teacher I ever seen love from karnataka 🙏🏻
@kurchak3 жыл бұрын
These are excellent, thank you so much for doing these videos! You're English is very easy to understand as well.
@shreyashgupta35113 жыл бұрын
In swapping of character of strings problem...it should be x[i]=x[j-1] Since j value will be 1 greater than last index of the string..
@sejalsinha97566 жыл бұрын
in reversing, it should be j =strlen(str)-1
@user-uz8od7ir3b6 жыл бұрын
Can u give me ur fb acc or wp number to explain to me something ?
@gokulnathj47855 жыл бұрын
There is a j-- iterator after i++
@abhishekkumargautam40185 жыл бұрын
yes bro
@radhasaradhi59595 жыл бұрын
No need ... already strlen eliminates null space
@just_relax31105 жыл бұрын
@@radhasaradhi5959 your program is not going to run if you don't use j=strlen(str)-1
@yrzwisdom4 жыл бұрын
At 25.40 (time), The expression is x[i]=x["%d",i]+32 or a[i]=("%d",a[i])+32; because the character can't be added to an integer.Take care of this brothers and sisters otherwise the console will print an error message.
@vaishalipurkayastha72195 жыл бұрын
Can't thank you more ....Superb explanation
@karanvedi67792 жыл бұрын
Sir very great concepts very helpful...🙏🙏🙏🙏
@pendekantigouthamraj355 жыл бұрын
sir please make a video on "printing all permutations of a given string".
@gouravjha20564 жыл бұрын
You are a wonderful teacher##i got inspiration while watching your topic ##thank you to guide me
@husainsariya40604 жыл бұрын
in swapping the character program what data type should be given to variable temp. Also what happens when multiple word string in read into the program.
@manishjha65705 жыл бұрын
Thank you sir, Your videos help me alot,Your explanation is also good. Thank you very much sir...
@Muthukumar232K5 жыл бұрын
jii how to store after the given string will reversed
@poojarineeraj81647 жыл бұрын
is there some more topics in c- language pls make it sir we have no option to go to other places to learn.thankyou sir
@vishwanimrunali4 жыл бұрын
Check Neso academy videos also ...for more examples .....
@Justdoing1853 жыл бұрын
Congratulations for 8k subscriber Naresh sir
@mnbvcxz16217 жыл бұрын
sir with out the [return count;] i am able to return the value.Is is compulsory to type [return] function
@VinayagaMotorsTsy3 жыл бұрын
Without return you will be gongor pass by reference.
@aaravacts14815 жыл бұрын
Thank you very much sir ji for all your videos. Please keep it up. God ji may and will always bless you
@tushar35755 жыл бұрын
Sir in swapping of odd length of string j!=strlrn(string)
@songlover94375 жыл бұрын
Hats off to you sir...u r such a genius u explain so neatly with calm and patience .I feel so lucky to have access to ur videos
@sravanirikka60915 жыл бұрын
sir i'm happy with your reverse logic but please tell me how to print the string after reversing it???
@ENGCS_chetanr4 жыл бұрын
Can anyone tell me where is string handling which he mentioned in video
@Music_with_Raj3 жыл бұрын
Sir thx for teaching aexilaent amazing teaching 🙏🙏🙏❤️❤️
@ankitkumarojha75102 жыл бұрын
thnk u sir..you put in such a honest effort..incredible sir..little bow from me sir
@gudduprasadjaisawal58593 жыл бұрын
You can try this for merging two strings: #include #include void main() { char s1[30],s2[30]; int i,len1,len2; printf("Enter first string :"); gets(s1); printf("Enter second string :"); gets(s2); len1=strlen(s1); len2=strlen(s2); printf(" Length of first string '%s' is :%d ",s1,len1); printf(" Length of second string '%s' is %d ",s2,len2); for(i=0;i
@naganikhitha74213 жыл бұрын
Nice explanation sir. It is so helpful for us. Thank you.
@saisarathchandra453 жыл бұрын
Thank u sir for giving good explanation. It's really interesting to learn the C language 😇😊
@vandana68136 жыл бұрын
Srinivas sir your teaching is very well tnqqq..... Soo.... Much Sir
@praveenthallapally50427 жыл бұрын
hii sir in the program of reverse of a string the condition should be j=strlen(x)-1.bacause it is an array magnitude of i and j should be equal. #clear explanation.
@soumallyamondal21666 жыл бұрын
right bro
@user-uz8od7ir3b6 жыл бұрын
Can u give me ur fb acc or wp number to explain to me something ?
@bharatbhusal023 жыл бұрын
in 15:52 if i am not wrong strlen gives number of characters in the string not the index of last character
@gorrepatimadhu60255 жыл бұрын
My c language guru...👍👍👍🙇🙅
@amareshh76914 жыл бұрын
Your teaching is amazing sir 🔥tq for making video for c language
@lancecruiselakra8 жыл бұрын
Sir, i want to compare two strings..is it possible to compare two string values? As we know during reading of strings it will hold the address of that string rather than the value within that address.. Reply as soon as possible Sir !!
@mabiormayiol-ey7yb9 ай бұрын
The best ever find❤❤
@moviesmania2533 жыл бұрын
bset explanation,, sir,, love from bangladesh
@goyaldeekshant4 жыл бұрын
Here is the complete code of reversing the string: #include int strlength(char[]); main() { int len; char x[30]; printf("enter the string: "); gets(x); printf(" string is %s",x); len = strlength(x); printf(" length of string is %d",len); printf(" now the swapping starts "); int i=0, j=strlength(x)-1; char c; while(i
@sailajadevipinisetti35033 жыл бұрын
Super
@hitleryt453 жыл бұрын
We can just use for loop in decrement na🧐
@SaiKiran-tm5pp3 жыл бұрын
int i=0, j=strlength(x)-1; can you please tell
@zameershaikh43245 жыл бұрын
Guyzz you may have the doubt in string reverse process then here it is the code... #include #include void main() { char str[100],temp; int i,j=0; printf("nEnter the string :"); gets(str); i=0; j=strlen(str)-1; while(i='A'&&x[i]
@radhikadaliya15173 жыл бұрын
Thanks for the correction
@zameershaikh43243 жыл бұрын
Welcome
@rajibnaskar14296 жыл бұрын
Love u sir. U r the best teacher of c language
@user-uz8od7ir3b6 жыл бұрын
Can u give me ur fb acc or wp number to explain to me something ?
@sonalidubey29133 жыл бұрын
Sir strlen(x) will store 6 instead of 5 for naresh right? so shouldnt we use j-1 as the index for the last value.
@kindaeasy97974 жыл бұрын
You can even try this //Enter both the strings Len=strlen(x); len2=strlen(y); for(int i=Len,int j=0;j
@suriyasanjay55473 жыл бұрын
we can use also strcpy (string copy)
@deepanraj97953 жыл бұрын
I order to use that you need to use string header file this video is with out using string header file
@balkrushnabhojgude82804 жыл бұрын
really , sir ur teaching is great
@anuragyadav_85725 жыл бұрын
Thanks for saving my exam it's due in 3 hours 24 minutes 😜
@maheshnagisetti83427 жыл бұрын
sir i have one doubt using string header for string concate directly we can use for strcat(s1,s2);
@vikraammaarkiv89475 жыл бұрын
They might ask a program without using library function so u have to do this
@Andrew_EvsW7 жыл бұрын
Hello Sir, please add String - Part 3 to title , thank you.
@hrishikeshaddagatla47893 жыл бұрын
20:15 how to print reverse string? Please reply
@rajshrikumar39514 жыл бұрын
In swapping program after while loop the output of "int l = strlen(x)" is 0 why sir ? Please answer
@banothsuresh44813 жыл бұрын
Superb sir ,thank you.
@derek25543 жыл бұрын
sir i think there is some sort of mistake at 16:06 in strlen counting
@snehitvaddi7 жыл бұрын
In this strings handling there is lot confusion whether where to include NULL CHARACTER or not...if possible make a vedio sir...
@softwarefoodiee4 жыл бұрын
Yes
@sulochanamirage16053 жыл бұрын
Sir you're teaching way is excellent but please provide proper order of playlists it's humble request
@KING-ni4ze3 жыл бұрын
Like toh banta hai 👍
@hemanthkumarchowdariduvvad36974 жыл бұрын
super sar very excelent nice class
@ankitgupta-je9cu5 жыл бұрын
Sir' at the time seen ur video i 'hv some doubts . In array n how can we solve it.
@kumarsaimirthipati81733 жыл бұрын
sir prototype function is same as recursive function????
@varikuppalaanitha50633 жыл бұрын
Sir.... In strings no need of loops? Your used the loop
@success_hub934 жыл бұрын
Perfect explanation ever seen
@keshavchopra65886 жыл бұрын
U r a true master
@xxgaming8693 жыл бұрын
sir, can you please describe void function that we use as void main(), what's the function of void?
@prasadt7722 жыл бұрын
It's just a return type of function 'main'. Since in these small programs we don't recall main function at all you can use int main() and results we be the same.
@swatiprabhu91914 жыл бұрын
excellent video. tysm for all the videos
@funkyprogrammer29964 ай бұрын
in reverse string, the x[i] and x[j] gets converted to character may be due to which the whole x string become character only, result in not allowing me to print the whole string printf("%s",x); ---> this does not print anything and in any program this statement is not working, guide me sir...
@mallapoorswaerothopes10thb233 жыл бұрын
In strings concept,u said that no need to use loops ???sir....
@chaithraramachandra65087 жыл бұрын
Very good teaching..thank u
@vikasvicky7563 жыл бұрын
When we swapping the all characters in the given string.can u explain How can we print the reverse string sir...
@somputhea67094 жыл бұрын
Thank you sir for clear explanation
@Nirajkumar-ms4mo6 жыл бұрын
sir you had written x[j]=x[I]+32 is it ok sir?coj x[j] nd x[I] are string nd 32 are integer. how can add integer or string value together nd assign in string variable so sir,just clear out my confusion?
@abhijitpanigrahi20925 жыл бұрын
I think j=strlen(x)-1 will be correct to use.
@neha03765 жыл бұрын
Yes
@vinayakpradhan58363 жыл бұрын
Great explaination sir...... can you please make for C++ tutorials?
@byrrajuabhilashraju18225 жыл бұрын
Awesome sir👏👏
@venkateshkapa99674 жыл бұрын
Sir in this program why should we doesn't use the format specifier %s?
@rkrrkumar5117 жыл бұрын
The C11 standard ISO/IEC 9899:2011 eliminated gets() as a standard function, which is A Good Thing™. Sadly, it will remain in libraries for many years (meaning 'decades') for reasons of backwards compatibility.
@sagarshaiva71393 жыл бұрын
Why are we use while loop sir? We can use other loops sir?