Strings in C Programming | Part-2 | C Language Tutorial

  Рет қаралды 847,987

Naresh i Technologies

Naresh i Technologies

Күн бұрын

Пікірлер: 363
@DailyCRINGEShorts
@DailyCRINGEShorts 7 жыл бұрын
i am surprised to see only 14k views on his lectures.he is probably the most effective and best tutor of c language on youtube..views on his lectures must be in millions peoples are not aware about his lectures please spread these videos. great job sir.
@ramyaroy7808
@ramyaroy7808 7 жыл бұрын
Ripul Rawat s
@HelpUtv
@HelpUtv 6 жыл бұрын
70k
@juraijbinjamal5313
@juraijbinjamal5313 6 жыл бұрын
Did yoy not notice the adds ?
@stashatstake
@stashatstake 6 жыл бұрын
@@juraijbinjamal5313 hardly matters. Spend 10 seconds to get a good teach
@hanupawandwivedi6613
@hanupawandwivedi6613 6 жыл бұрын
Correct
@lavanyaramesh1241
@lavanyaramesh1241 7 жыл бұрын
Sir u r really a living legend for me no one can make me understand computer better than u sir l....I luv ur teaching very much......infact I suggested many friends to watch ur videos sir hatz of to u sir..........
@himanshu6910
@himanshu6910 4 жыл бұрын
For more lecture you can refer to my channel
@Robin-ff9nd
@Robin-ff9nd 7 жыл бұрын
Just watch the tutorials in 1.25 speed and he is the best
@veerasekharreddysomu2976
@veerasekharreddysomu2976 6 жыл бұрын
Robin Jagal True bro I tried it.
@caothanhlong7577
@caothanhlong7577 6 жыл бұрын
Good idea!
@Rahul-xc5qe
@Rahul-xc5qe 6 жыл бұрын
genius.
@BABABOOWIE369
@BABABOOWIE369 5 жыл бұрын
thank you so much
@TheSre007
@TheSre007 5 жыл бұрын
1.5 or 1.75 , is good if u wanna learn quick af
@dabhiankit3080
@dabhiankit3080 3 жыл бұрын
The best Programming teacher for me who explains and explains whole content in the single short lecture . Thank You Very much Sir for this kind of Hardwork...
@kalyanghandge1362
@kalyanghandge1362 5 жыл бұрын
#include void main() { printf("thank you sir 😍 ♥" ); }
@sairajmatkar
@sairajmatkar 4 жыл бұрын
Return 0;
@dxzfvzs8119
@dxzfvzs8119 4 жыл бұрын
@@sairajmatkar void != int
@prasadnarkhede1938
@prasadnarkhede1938 4 жыл бұрын
Error,,,,,, letter must be small
@chandrakantpatil2566
@chandrakantpatil2566 4 жыл бұрын
@@sairajmatkar good
@roganr5525
@roganr5525 3 жыл бұрын
@@chandrakantpatil2566 ok
@apoorbadash5062
@apoorbadash5062 3 жыл бұрын
Best teacher in c programming.... Thank you sir 🙏🙏
@siddusmart1019
@siddusmart1019 4 жыл бұрын
sir in last session we had completed arrays. but we have types in it like 1-dimensional, 2-dimensional and multi-dimensional arrays, which includes addition and multiplications of matrices. if yes please add those videos sir. BTW ur teachings was awesom. thank you so much sir
@zakriabacha2477
@zakriabacha2477 6 жыл бұрын
really sir u teach very clear and simple ,u are the best one ,i learn alot of thing from u,sir upload video for beginners ,may god success u in ur field
@ramanareddy8586
@ramanareddy8586 5 жыл бұрын
Sir I can't see this type of accurate explanation in c language. You are the best sir I can say proudly. Extremely extraordinary teaching
@himanshu6910
@himanshu6910 4 жыл бұрын
For more lecture you can refer to my channel
@B-Aparnasai
@B-Aparnasai 4 жыл бұрын
I watched your every video they are really worthy thank u sir
@hruthikc.y4650
@hruthikc.y4650 6 жыл бұрын
Superb explanations sir Ur teaching is helping me lot in learning CS thank you sir
@tommystephen9146
@tommystephen9146 4 жыл бұрын
Sir, your way of explaining logic is the best I have ever seen. I have a question on reversing a string using while loop. Logic is okay. I did the program in code block , it does not reverse the string! 'one' is reversed as 'noe' and "sand" as "asnd", ie. ony the first two characters are interchanged. What could be wrong in my coding?
@riturajpurkayastha1774
@riturajpurkayastha1774 6 жыл бұрын
sir,you are the best teacher of C programming.There is no doubt,excellent sir
@himanshu6910
@himanshu6910 4 жыл бұрын
For more lecture you can refer to my channel
@cyberhifi2629
@cyberhifi2629 4 жыл бұрын
It help to understand the concept of character and string
@DoubtedBuddy
@DoubtedBuddy 5 жыл бұрын
yes he is one of the best everyone must watch his videos
@himanshu6910
@himanshu6910 4 жыл бұрын
For more lecture you can refer to my channel
@PREMLAL-ng2vt
@PREMLAL-ng2vt 3 жыл бұрын
Sir u r just great. I had these doubt and was not even aware how to explain to somwbody. U just nailed it. Love u
@khatariinsaan5284
@khatariinsaan5284 3 жыл бұрын
int main() { int m; printf("Wow Sir u r awesome"); } for(int i=0;i
@PaulA-jo2tc
@PaulA-jo2tc 6 жыл бұрын
Sir you are the best please post more videos like this
@adityakhare8942
@adityakhare8942 2 жыл бұрын
Sir You have given such great lectures on C, you explain every concept step by step and also all the small details, Thank You very much Sir for these lectures💯💯💯
@adityajaiswal1254
@adityajaiswal1254 3 жыл бұрын
#include int main() { char a[2]; printf("enter your name: "); scanf("%s",a); printf("Hi %s, Welcome ",a); return 0; } Sir in this code, I have taken the size of array 2 and it is printing 4 characters "Hari". How's that possible?
@ankitkumarojha7510
@ankitkumarojha7510 2 жыл бұрын
thank u sir..you really do very hard work
@jinavlog811
@jinavlog811 3 жыл бұрын
the clearest explanation your video helps a lot of students who don't understand college lessons.
@itsheaven5701
@itsheaven5701 6 жыл бұрын
Sir u are great..... U help a lot of us... Your way of teaching is great...tysmd Sir ...i go through with all of your c videos and have a clear concept on C
@ratnabhargavi8205
@ratnabhargavi8205 6 жыл бұрын
Actually i didn't understand c while reading the text book But now i understand clearly Ur teaching is xcellent osm All d best 4 ur bright future
@veminenisumanth4657
@veminenisumanth4657 4 жыл бұрын
It's amazing sir, you explaination is marvelous no one can explain like these..your teaching made students very enthusiastic .thank you sir for providing such a wentastic teaching.
@himanshu6910
@himanshu6910 4 жыл бұрын
For more lecture you can refer to my channel
@laveshpuraswani7027
@laveshpuraswani7027 4 жыл бұрын
Best teacher 😍😍
@slobodantajisic2762
@slobodantajisic2762 6 жыл бұрын
In this example char s2[4] = {'o', 'n', 'e'}, I think that we must write char s2[4] = {'o', 'n', 'e', '\0'}...
@pranjalpagaria322
@pranjalpagaria322 4 жыл бұрын
copiler will take null character by default thats why no need to write
@punnashivani779
@punnashivani779 3 жыл бұрын
Who r those 191 dislikes r they mentally handicapped or wat😒 Such a great teaching ur my life savior sir🙏
@tukus_technology
@tukus_technology 2 жыл бұрын
I loved the way you teached . Please sir I request you to teach in our college please
@mrahaman242
@mrahaman242 7 жыл бұрын
Thank You sir... but sir if u add some program then we can learn better...
@har0111890011
@har0111890011 6 жыл бұрын
Thank you so much sir. Greetings from Egypt .
@himanshu6910
@himanshu6910 4 жыл бұрын
For more lecture you can refer to my channel
@manishpal1501
@manishpal1501 3 жыл бұрын
Are you really from Egypt? Pls tell
@vidyashreechikodi2080
@vidyashreechikodi2080 4 жыл бұрын
Sir, ur videos r really very good. Could you please give some more explanation about y we don't use loops to read string.
@we_raj
@we_raj 4 жыл бұрын
Thanks sir 🙏🙏
@yugandharchaudhari1376
@yugandharchaudhari1376 5 ай бұрын
4:39 you’re looking for
@nitisharya7766
@nitisharya7766 5 жыл бұрын
Sir u are to good i am fan of you...thanks sir for teaching those people they couldn't understand properly....
@gaurangvishnoi8995
@gaurangvishnoi8995 5 жыл бұрын
Sir...great.... seriously...you are great....the way of your teaching is fabulous... Thank you so much..
@srinuakula6123
@srinuakula6123 5 жыл бұрын
Great job sir U are the best when compared to other lecturers
@marjunnaik1824
@marjunnaik1824 5 жыл бұрын
sir u have told that in printf function ,we take that whatever present in printf within the double quotes it takes as string ,then what is the use of words present in printf
@rajankumar7601
@rajankumar7601 6 жыл бұрын
U made programming in c ,easy for me.. tysm srinivas sir...
@supriyamalewar9850
@supriyamalewar9850 3 жыл бұрын
you are the best sir...!! you have cleared all my doubts
@aparnagandi116
@aparnagandi116 3 жыл бұрын
Superb explanation sir ... I'm impressed by your explanation.... 🙏🏻🙏🏻
@abdullahalnaseeh
@abdullahalnaseeh 5 жыл бұрын
I like your teaching techniques,thnkx.. it is much more appreciated
@himanshu6910
@himanshu6910 4 жыл бұрын
For more lecture you can refer to my channel
@JJB1963
@JJB1963 5 жыл бұрын
Sir, your teaching skill is very Nice!!
@jurgenpopodopulus5006
@jurgenpopodopulus5006 5 жыл бұрын
great videos, I love them. My teacher isn't so good in explaining, that's sad, I want to become a great developer. So thank you!
@pranjalpagaria322
@pranjalpagaria322 4 жыл бұрын
i have one doubt what if we write 18:50 sf("%d",arr[i]) as arr has base adress so it will move index . What is the need of & operator their.
@מרסלוגויקוצאה
@מרסלוגויקוצאה 4 жыл бұрын
Its all good, but u did not consider when the user enter less then “size” characters, When user press “enter” it will save into the string and then ‘\0’.. so when you print the string it will go to the next line.. and that not what you want..there is a simple solution for this using lenght variable and a simple IF condition.
@pranavkulkarni7098
@pranavkulkarni7098 4 жыл бұрын
Sir you are saying no need to write &operator to read in the string because the string variable contains base address and automatically stores the value. But in the case of arrays, array variable also contains the base address than why are we writing &operator
@shobanas5032
@shobanas5032 4 жыл бұрын
What i think is....In array, it occupies 2 bytes so we have to pass tha address manually. But for char, of we know tha base address, so it can easily read no need to mention or pass it manually
@pranavkulkarni7098
@pranavkulkarni7098 4 жыл бұрын
@@shobanas5032 from my standpoint size doesn't matters at all because in both case we are storing only either it could be 1 or 2 bytes. In array we take a loop to read the number and use & operator to store the value . In the case of char we don't use loop and & operator doesn't matters. In array we know how many elements to read that is why we use loop there. In char we don't know the length that is why the loop doesn't apply. but my question is about both array variable and char variable contains base address than why we are using & operator in array only
@pranavkulkarni7098
@pranavkulkarni7098 4 жыл бұрын
@@shobanas5032 In video he is saying for char it goes and stores automatically than why doesn't in array?
@rockstarraviteja8767
@rockstarraviteja8767 5 жыл бұрын
Super bro u r one of my guru y Because l would like to watch ur videos it is easy to understand tq soo much bro
@vishwasmishra3448
@vishwasmishra3448 3 жыл бұрын
Very good explanation sir....highly recommended for beginners...,:)
@Enterment-hr9ir
@Enterment-hr9ir 7 жыл бұрын
sir i had watched many c lectures.....but sir ur lectures are really Awesum.....Hatts off to u sir.......
@abhijith1136
@abhijith1136 5 жыл бұрын
Very good lecture
@snehaswapna1869
@snehaswapna1869 5 жыл бұрын
Sir r I have learnt c from ur lecture tqs a lot
@cyberhifi2629
@cyberhifi2629 4 жыл бұрын
Such a great explanation
@souravpandey1982
@souravpandey1982 5 жыл бұрын
U r amazing sir
@niteeshvanama4248
@niteeshvanama4248 3 жыл бұрын
#include Main() { char name[20]; printf("enter the name"); scanf("%s",name); printf("hi %s thank u very much sir😍😍",name); }
@vegruchulu4266
@vegruchulu4266 5 жыл бұрын
Sir,In scanf you said that variable name is enough which contains the base address,but when comes to printf why can't it print the base address of the string
@InaamRehman98
@InaamRehman98 8 жыл бұрын
good and helpfull lectures sir:-)
@himanshu6910
@himanshu6910 4 жыл бұрын
For more lecture you can refer to my channel
@artwithmepunjabi1414
@artwithmepunjabi1414 3 жыл бұрын
sir HATS OFF to you!!
@sarthak9448
@sarthak9448 4 жыл бұрын
Sir I personally like ur content it helps me alot
@shivacharan1015
@shivacharan1015 3 жыл бұрын
This guy is a legend.
@prasadshingne6992
@prasadshingne6992 Жыл бұрын
Part 1 on strings handling
@lakshmilucky9396
@lakshmilucky9396 4 жыл бұрын
Very very clear explanation about strings thank you so much sir.
@larrylumumba7949
@larrylumumba7949 6 жыл бұрын
best lecturer ever
@9a56mahabirjaiswal9
@9a56mahabirjaiswal9 5 жыл бұрын
Sir l did not know anything about C or any computer programming .But l want to know is this video will help me to learn from basics ,i.e,from 0 level
@tejaswinikasinadhuni5231
@tejaswinikasinadhuni5231 4 жыл бұрын
You have to start from the beginning
@mamillamounika728
@mamillamounika728 6 жыл бұрын
super explanantion sir.............
@luckylaxmana431
@luckylaxmana431 2 жыл бұрын
Thanks for explaining sir
@vishalgowtham896
@vishalgowtham896 6 жыл бұрын
Your explanation is superb, marvellous,
@newasamir5341
@newasamir5341 5 жыл бұрын
i have a question for all what if we input more than 20 character i.e. krishnaprashaadkhandevgon. this name has more than 20 character. when we input more character than the size of array it prints it .WHY?????????? insted it should only print 20 character as array size is 20 only but it prints all character...WHY is that so????
@gireeshbhat4158
@gireeshbhat4158 3 жыл бұрын
What is the output for #include #include int main () {printf("%d",printf("s","Hello world")); }
@bharathkumar-ss4lg
@bharathkumar-ss4lg 5 жыл бұрын
Ur teaching is good
@ВалерийБондаренко-г2ъ
@ВалерийБондаренко-г2ъ 3 жыл бұрын
an excellent explanation. Thanks
@moviesmania253
@moviesmania253 3 жыл бұрын
best explanation, sir
@pallavimacherla806
@pallavimacherla806 4 жыл бұрын
Sir only we can consider 2046 in base address
@arpitasarkar1789
@arpitasarkar1789 6 жыл бұрын
Sirr please can u make video on cirular, polynomial linked list and complexity🤕
@shaiksajeda7969
@shaiksajeda7969 5 жыл бұрын
Sir in array also we can write Int arr[50],n; Pf("enter n value: "); Again in strings we are doing the same what is the difference sir? U said we cannot write & in scanf as we are giving name[ ] if we give s1[ ] then?
@dharaniidharkatikaneni4973
@dharaniidharkatikaneni4973 3 жыл бұрын
Do u know now pls explain me Im having same doubt
@marcjemavila951
@marcjemavila951 5 жыл бұрын
Very nice teacher..
@desubhavana8990
@desubhavana8990 3 жыл бұрын
Super explanation sir
@kondaveetivamsi421
@kondaveetivamsi421 5 жыл бұрын
Excellent information sir.... thank you for sharing this kind of valuable information sir..🙏🙏🙏🙏.......
@hrutikbhalerao
@hrutikbhalerao 5 жыл бұрын
I had taken addmition for BCA 1
@nagendrasss1255
@nagendrasss1255 7 жыл бұрын
Thanks for giving easy concepts
@syamkumar9476
@syamkumar9476 4 жыл бұрын
Sir I enter the size of the string is zero. But in sf function I give my name as syamkumar and it can print this. How it happens sir and your channel is absolutely fine sir
@Shubham_30_12
@Shubham_30_12 4 жыл бұрын
Someone pls explain it too....
@navalkishorsavita9722
@navalkishorsavita9722 6 жыл бұрын
nice explanation
@shreshthjuneja9878
@shreshthjuneja9878 7 жыл бұрын
Good explanation !!But Please use more examples 😊
@prafulmahindre64
@prafulmahindre64 6 жыл бұрын
Shreshth Juneja grudp Garudpuran
@abhikumar4332
@abhikumar4332 4 жыл бұрын
Very useful for me
@draco6958
@draco6958 3 жыл бұрын
I am help full by the video
@THOTAKALPANA
@THOTAKALPANA 3 жыл бұрын
Sir in these year regulation any changes in syllabus ??
@anmolgarg2564
@anmolgarg2564 5 жыл бұрын
Best sir for a reason💗
@NehaSingh-yj8fz
@NehaSingh-yj8fz 7 жыл бұрын
Thankyou Sir for making these concepts easier.
@himanshu6910
@himanshu6910 4 жыл бұрын
For more lecture you can refer to my channel
@kritikakp9211
@kritikakp9211 5 жыл бұрын
Tq bro.. It was very useful
@tejarockzz4462
@tejarockzz4462 6 жыл бұрын
By Naresh technologies nice sir
@Spider-Man_67
@Spider-Man_67 4 жыл бұрын
Superb explanation sir....👍
@tamilmaranc
@tamilmaranc 3 жыл бұрын
great !!!awesome teach sir
@yosrimhamdi1435
@yosrimhamdi1435 7 жыл бұрын
superb explanation, thank you!
@KalyanS
@KalyanS 4 жыл бұрын
good one but i feel it is slow. over all nice explanation.
@gundapavani8734
@gundapavani8734 2 жыл бұрын
Nice explain and keep continue
@aditya_bhadouria
@aditya_bhadouria 5 жыл бұрын
if we ask about size of string in s1[ ] = "Hari" what will be the answer
@rahulmahato2569
@rahulmahato2569 2 жыл бұрын
Thanku so much sir ❤️
@ramyareddykonakati3348
@ramyareddykonakati3348 3 жыл бұрын
Impressive sir
@mr.anorak6900
@mr.anorak6900 3 жыл бұрын
great. thank you sir
@mabiormayiol-ey7yb
@mabiormayiol-ey7yb 7 ай бұрын
Sir Drop a video using pointers
Strings in C Programming | Part-3 | C Language Tutorial
14:45
Naresh i Technologies
Рет қаралды 426 М.
Strings in C Programming | Part-1 | C Language Tutorial
33:34
Naresh i Technologies
Рет қаралды 559 М.
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 22 МЛН
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 68 МЛН
C_62 Strings in C - part 1 | C programming tutorials
15:41
Jenny's Lectures CS IT
Рет қаралды 506 М.
Unions in C Language | C Language Tutorial
13:04
Naresh i Technologies
Рет қаралды 338 М.
C_63 Strings in C-part 2 | Read a String using scanf and gets function
18:05
Jenny's Lectures CS IT
Рет қаралды 315 М.
C Array - Part 1 | C Language Tutorial
17:33
Naresh i Technologies
Рет қаралды 1,4 МЛН
Data Types in C - Part 1 | C Language Tutorial
13:30
Naresh i Technologies
Рет қаралды 1,1 МЛН
Files in C | C Language Tutorial
16:37
Naresh i Technologies
Рет қаралды 517 М.
Recursion in C Functions | C Language Tutorial
14:33
Naresh i Technologies
Рет қаралды 828 М.
Control Statements in C - for loop | C Language Tutorial
17:31
Naresh i Technologies
Рет қаралды 775 М.
48 - STRING HANDLING FUNCTIONS - C PROGRAMMING
35:19
Sundeep Saradhi Kanthety
Рет қаралды 129 М.
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 22 МЛН