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

  Рет қаралды 428,134

Naresh i Technologies

Naresh i Technologies

Күн бұрын

Пікірлер: 175
@NareshIT
@NareshIT 5 жыл бұрын
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
@sachindandge764
@sachindandge764 8 жыл бұрын
I got More knowledge in Naresh IT than got in my engineering college...thanks Naresh IT..
@amaama2137
@amaama2137 6 жыл бұрын
Agree!
@muralisahu1909
@muralisahu1909 5 жыл бұрын
Jim
@manuj9570
@manuj9570 5 жыл бұрын
@Mahalakshmi E check out his playlist
@madansshetty6063
@madansshetty6063 3 жыл бұрын
Me too
@nobodyhere8057
@nobodyhere8057 3 жыл бұрын
Same here bro , in my case our sir shares links of naresh it sir 😂😂
@jinavlog811
@jinavlog811 3 жыл бұрын
I love when the teacher said "Sir, I don't know what/how.....?, No problem. See"
@stnsharif2528
@stnsharif2528 6 жыл бұрын
Naresh technologies lectures best then in my engineering college
@--Asha--
@--Asha-- 6 жыл бұрын
Sir is best
@ruturajjadhav8905
@ruturajjadhav8905 4 жыл бұрын
This Person just reads my mind.... He just answers the doubts I get.
@jashanveersingh252
@jashanveersingh252 3 жыл бұрын
your the best
@tapasideb7313
@tapasideb7313 4 жыл бұрын
Thank you sir ... I am completing my syllabus of C programming now . I m a student of mathematics. And in this sem a new sub C Programming is added to our course .And I have no privious knowledge in any computer language. So I was so nervous and depressed.But your classes gives all the basic concepts very clearly and now I am doing my syllabus complete . Thanks again sir..thank you so much
@peerless3538
@peerless3538 3 жыл бұрын
Umm umm I am too...🥺
@shivammathuria1722
@shivammathuria1722 4 жыл бұрын
mr srinivas sir thank u so much for this lecture series...my whole hearted gratitude for u sir! Ur work is priceless
@hrithicksen3644
@hrithicksen3644 5 жыл бұрын
3:34 There is also a way to use the scanf() function. - scanf("%[^ ]", Stringname); - That means it will accept all the values except the new line. - scanf("%[A-Ba-b ]", Stringname); - That means it will accept all the values from A to B, a to b and the space.
@rajkush319
@rajkush319 5 жыл бұрын
but should be in single cot like ("%[^' ']s",StringName)
@akhileshhiremath808
@akhileshhiremath808 4 жыл бұрын
Thanks bro
@vamshisurya2991
@vamshisurya2991 4 жыл бұрын
@@rajkush319 I think its also works without quotes
@thanmaykandakuri2782
@thanmaykandakuri2782 3 ай бұрын
Strings in C Programming | Part-3 is Strings - Part 2 guys!!!!!!!!!!!!!!!
@AbhiKumar-ji7ol
@AbhiKumar-ji7ol 4 жыл бұрын
Keka sir meeru 👍👍
@zakriabacha2477
@zakriabacha2477 7 жыл бұрын
sir make more video for beginners ,your way of teaching is veeeeeeeeeeeeeeeeeeeerrrrrrrrrrrryyyyyyyyyy best>
@meherali4073
@meherali4073 4 жыл бұрын
Sir, just for fun i have written this:- #include int main() { char name[50] = "meher ali"; unsigned int len; for(len=0; name[len]!=' '; len++); printf("%d", len); } Output: 5 Because i wrote 'space' in for loop... It's is for fun only. 😛😛😛 You are great teacher and i learnt from you many things thank you
@Dontpushyour_luck
@Dontpushyour_luck 4 жыл бұрын
Do you have a compilation/playlist of all the C language videos you have on your channel? It would be helpful to everyone
@nagarajumoka8492
@nagarajumoka8492 3 жыл бұрын
Array also holding base address right?....then why we are using address in scanf function?
@csforcommonsense3360
@csforcommonsense3360 4 жыл бұрын
#include void main() { char a[5]; printf("enter the comment"); gets(a); printf("%s",a); } o/p: superb explaination
@suryapadala54
@suryapadala54 4 жыл бұрын
A man ur out put is supe ....but this is not kitchen classes
@saivishwanath3512
@saivishwanath3512 4 жыл бұрын
In console window,o/p will be only 'super'.Since,you have given the array size as 5 and it won't accept 'superb explanation' as it's size is more than 5!
@csforcommonsense3360
@csforcommonsense3360 4 жыл бұрын
Tq friends if you reply like this about concepts then u will remember for longer time ..😀
@rhevanthmahadev9229
@rhevanthmahadev9229 7 жыл бұрын
scanf can take input with a space. We have to use %[^ ] instead of %s, so that scanf considers spaces, but stops taking input when we press enter.
@peerless3538
@peerless3538 3 жыл бұрын
Hey really? 😃
@anishdey9896
@anishdey9896 3 жыл бұрын
Thanks sir. Your lecture is really easy to understand. once again thank u sir
@shubham_skadam
@shubham_skadam 4 жыл бұрын
srinivas sir, you are by far the best teacher in C programming,
@souravsarkar8594
@souravsarkar8594 6 жыл бұрын
thank you sir for your very detailed discussion, it was very helpful to understand the concept.Keep on your good work .
@ads6830
@ads6830 5 жыл бұрын
even our college didn't taught this much better.i can completely understand .
@EBKCS_MOKSHASHARMA
@EBKCS_MOKSHASHARMA 4 жыл бұрын
really sir I never understood c in my college but now if time get back I m the genius of programming in my class cz of you sire.
@anitathakur4590
@anitathakur4590 7 жыл бұрын
excellent job sir
@v.g.bright2874
@v.g.bright2874 5 жыл бұрын
Thanks sir for excellent job.
@mathurirajabhalu4824
@mathurirajabhalu4824 5 жыл бұрын
Starting my CS degree next month but still considering if I should just learn from him🤣
@vanshchauhan3910
@vanshchauhan3910 4 жыл бұрын
Amazing lecture !
@kamalmukhiya8455
@kamalmukhiya8455 3 жыл бұрын
such a nice way to teach.............
@aafreenfatima1805
@aafreenfatima1805 6 жыл бұрын
thnx a lot sir. .love from uttarakhnd...😊😊😊
@jru5252
@jru5252 5 жыл бұрын
Great videos on strings and string handling in C. Although gets() is always giving me an error that it is unsafe so instead I am using scanf(" %maxLength[^ ]", arrayName)
@rakeshchunduri401
@rakeshchunduri401 4 жыл бұрын
Sir u have to use %u because u declared unsigned integer
@nagulapatipoornasaipavanku1169
@nagulapatipoornasaipavanku1169 7 жыл бұрын
Sir, it's GOOD,but all the videos are not provided in this channel.Videos on operators is missing and the videos are not in a proper sequence.Strings lecture is before Arrays.Please VERIFY.
@Babitha_banagani
@Babitha_banagani 4 жыл бұрын
@Kamran go to naresh i technologies playlist and u can find c programming videos in sequence
@sudhansumtripathy
@sudhansumtripathy 5 жыл бұрын
sir thank you so much for this simple way of teaching
@bollepallyshrecharan5226
@bollepallyshrecharan5226 4 жыл бұрын
Sir i am able to understand topics but when i try to do a progrms i am not able to write progrm but understanding concepts is ok
@rajeshpuli3765
@rajeshpuli3765 5 жыл бұрын
super super superb teaching sir
@shankhaneeldutta4617
@shankhaneeldutta4617 3 жыл бұрын
I will be coming to meet Mr Srinivas sir after my graduation to thank for his tremendous valuable lectures !
@maheshfollowing
@maheshfollowing 2 жыл бұрын
You are super and excellent Sir
@abdarkhadartahlilabdirrham1597
@abdarkhadartahlilabdirrham1597 7 жыл бұрын
greate explanation sir you are the best c programming teacher you tube tutorial one suggestion sir make the tutorials series means give them parts1 part2 as on
@shaikimtiyaz4226
@shaikimtiyaz4226 3 жыл бұрын
Most usefull channel and mind-blowing explanation sir..👌🏻👌🏻👍🏻👍🏻
@mahapathi9090
@mahapathi9090 3 жыл бұрын
Awesome lecture sir
@dhruvilkumar3577
@dhruvilkumar3577 2 жыл бұрын
11:57 %d format specifier also true but for better practice we need to use %u
@ayushtiwari8095
@ayushtiwari8095 4 жыл бұрын
Very well explained
@zakriabacha2477
@zakriabacha2477 7 жыл бұрын
please upload more video on these topic ,tricky question ,mcqs ,technical ,for beginners to help them.we only learn from u ser
@sricharannaga474
@sricharannaga474 7 жыл бұрын
we can even use %u for length as an access specifier instead of %d
@sullurukiran4865
@sullurukiran4865 7 жыл бұрын
Sri Charan Naga %u is used to unsigned integers only..
@bhanuboina5596
@bhanuboina5596 4 жыл бұрын
@@sullurukiran4865 here we used unsigned integer so I think we have to use %u only
@varunr8375
@varunr8375 3 жыл бұрын
@@bhanuboina5596 yess is it correct then??
@kumaraswamy6442
@kumaraswamy6442 6 жыл бұрын
Sir you are the perfect lecturer
@harikrishnas5743
@harikrishnas5743 3 жыл бұрын
This is the 1st time i get a chance to c my name as example!!!!
@prasaddhend7983
@prasaddhend7983 4 жыл бұрын
sir in string length function we will usr na len=strlen (name); for (i=0:i
@johngichuki8338
@johngichuki8338 6 жыл бұрын
I really liked the tutorials As a Beginner the Videos are of great help keep up Krishna
@sonalirajak227
@sonalirajak227 3 жыл бұрын
I wish u could come to my home and teach me Then I will be a genuis in all languages 😂
@arpanmishra8548
@arpanmishra8548 7 жыл бұрын
timing 4:15 sir you can say that get s will read all the character array until you press the enter. either it will space character or special character.... but, at 4:57 you say when space is consider between hari krishna it will not considerd........so, how we differentiate from scan f.
@vimaladhulipalla9489
@vimaladhulipalla9489 3 жыл бұрын
Nice sir
@elwafi2001
@elwafi2001 6 жыл бұрын
Very very very good lessons
@hangoutbuddy
@hangoutbuddy 7 жыл бұрын
Very nice explanation.
@ashmanjagdev7238
@ashmanjagdev7238 5 жыл бұрын
paji rikshaw kithe laya
@zakriabacha2477
@zakriabacha2477 7 жыл бұрын
thanks alot dear and respected sir
@ankitkumarojha7510
@ankitkumarojha7510 2 жыл бұрын
thnk u sir
@Mr_Asif07
@Mr_Asif07 3 жыл бұрын
Program is correct Put starting #include
@naveenrayala8475
@naveenrayala8475 5 жыл бұрын
awesome explanation sir thank you
@tejaswaroop4917
@tejaswaroop4917 6 жыл бұрын
Thank you, Sir!
@tapanjeetroy8266
@tapanjeetroy8266 7 жыл бұрын
thanks for your valuable support
@sanjoymondal2698
@sanjoymondal2698 7 жыл бұрын
Very good.
@vinay7595
@vinay7595 7 жыл бұрын
nyc expalination ia tq.......
@poojajagtap7349
@poojajagtap7349 3 жыл бұрын
Super
@lakshmishiv5013
@lakshmishiv5013 6 жыл бұрын
👍super sir
@shirankr1938
@shirankr1938 5 жыл бұрын
Kidu😍
@itsheaven5701
@itsheaven5701 6 жыл бұрын
Such a great expplain on string
@akshugrakshu3010
@akshugrakshu3010 5 жыл бұрын
Tq sir
@kritisharma3072
@kritisharma3072 5 жыл бұрын
Thanq so much shrinivash sir for ur classes. The way u explain everything is owsm anyone can understand. I would love to learn more in detail about c n programming. I need ur help for my upcoming exm in jun month it ( c language n ict) please can i have ur no to have a guideline for my preparation please show me the way how to communicate with u.
@keerthiprasad3413
@keerthiprasad3413 5 жыл бұрын
Good
@shashankkabbin2646
@shashankkabbin2646 5 жыл бұрын
sir if I want to type a paragraph then when I press enter key to go to next line, then gets() will stop receiving my data right..?
@suprajaakuthota4850
@suprajaakuthota4850 6 жыл бұрын
Sir your way of teaching is awesome sir could you please make the videos on switch and do while loops
@krushnapanda7001
@krushnapanda7001 8 жыл бұрын
thank you sir
@Satisfying_shorts_india
@Satisfying_shorts_india 6 жыл бұрын
Thanks sir
@Vijaykumar-ey8om
@Vijaykumar-ey8om 3 жыл бұрын
#include main() { char z[100]; printf("Enter a string "); gets(z); printf("The string: %s ", z); }
@vasanthigovindulu2669
@vasanthigovindulu2669 6 жыл бұрын
Hi sir, your way of teaching is very good . please upload like CATIA software like plz ...It is necessary for us sir
@aftab-78601
@aftab-78601 3 жыл бұрын
Sir,is it important to write unsigned int type
@satish6908
@satish6908 8 жыл бұрын
sir in the above program using unsigned int len but while printing in the program using %d formate specifier. so instead of using %d %u format specifier writing is correct or not in the data types concepts u say that unsingned int format specifier is %u. so which formate specifier i have to write? in the above question. thank u.
@Vaibhav_Kumar_2003
@Vaibhav_Kumar_2003 7 жыл бұрын
ya you are right
@--Asha--
@--Asha-- 6 жыл бұрын
I have the same question,bro.
@minadas3804
@minadas3804 4 жыл бұрын
Most important thing is you also tell step by step and tell what happened to console.
@gayathrik8166
@gayathrik8166 2 жыл бұрын
Sir please explain the use of strcpy, strcmp, etc
@mohammedrahman8796
@mohammedrahman8796 2 жыл бұрын
sir, can you make video on deletion of element in array
@venkatasreekanthreddy5735
@venkatasreekanthreddy5735 5 жыл бұрын
We can't use gets because of it is dangerous..!! If u want to read string including spaces us while reading string in scanf("%[^ ] s", string name) ;
@akhileshhiremath808
@akhileshhiremath808 4 жыл бұрын
Thanks bro
@vamshisurya2991
@vamshisurya2991 4 жыл бұрын
can we use all other types of escape characters in these specifiers?
@vedantnautiyal7983
@vedantnautiyal7983 5 жыл бұрын
Dear Sir ,please tell me the reason why space put before %s specifiier while putting in "" scanf(" %s")
@souvikroy7113
@souvikroy7113 5 жыл бұрын
Make lectures on 2D array also please
@gokulraj5453
@gokulraj5453 5 жыл бұрын
Hi sir In the last question u used unsigned int since length is +ve Then why %d I think %u is right
@youcefsad2350
@youcefsad2350 5 жыл бұрын
because length is going to be + anyways both are correct
@ninad1902
@ninad1902 4 жыл бұрын
Because %u is a unsigned decimal integer but the length will not come in decimal value (I might be wrong)
@maheshbabukamepalli3488
@maheshbabukamepalli3488 3 жыл бұрын
strlen() will also include(in video it is told as exclude) the space into the count of length when we give input with gets()
@ashwinikheersagar372
@ashwinikheersagar372 2 жыл бұрын
Exclude null character, not space
@jayaramalukunta720
@jayaramalukunta720 3 жыл бұрын
It is better understanding while all videos are exucute in computer also
@vishnuvandanapyatla2888
@vishnuvandanapyatla2888 4 жыл бұрын
Can u upload Octal to binary conversion
@narendernakkalapally8448
@narendernakkalapally8448 6 жыл бұрын
Sir explain string manuplating functions
@DeepakKumar-nz6ug
@DeepakKumar-nz6ug 6 жыл бұрын
If ,I am using gets funtion to read all char even space and sentence etc also but after it string size changed ,it is necessary that new size of string is define in string or not.
@nikhilsethi8745
@nikhilsethi8745 5 жыл бұрын
Wap in c to enter a string and convert it in toggle case without using string.h
@EternalBlaze10
@EternalBlaze10 5 жыл бұрын
very easy . Just use the ASCII values operations
@srinivassai7926
@srinivassai7926 6 жыл бұрын
is it possible to change lines while using gets() ?/
@ManishKumar-mi7ko
@ManishKumar-mi7ko 7 жыл бұрын
you are god
@nees4636
@nees4636 5 жыл бұрын
sir...will we need to include any library function to use "gets".....???
@jatinaggarwal9965
@jatinaggarwal9965 5 жыл бұрын
No
@jeevangowda3309
@jeevangowda3309 3 жыл бұрын
Sir ur saying wrong strlen() function counts including null character it counts from 0 to 9 not 1 to 9 .bcz of this when I am watching the 3 part of string to reverse the string I am not getting output I have check code and entered everything like u said but the one thing u said wrong about this strlen() by using this it swaps the null charater also so we have to use strlen()-1 then null will not Swaped.
@Vijaykumar-ey8om
@Vijaykumar-ey8om 3 жыл бұрын
#include main() { char Str[1000]; unsigned int len; printf("Enter the String: "); gets (Str); len= strlen (Str); printf("Length of '%s' is '%d'", Str, len); } RUN THIS THANKS ME LATER
@anithachandala6602
@anithachandala6602 5 жыл бұрын
Why gets() function is dangerous..you said gets ()is executed until you press the enter key..but when we need to read a paragraph..if we press the enter..it will stop execution...give me solution sir
@dr.engineer1745
@dr.engineer1745 6 жыл бұрын
Write a C program to concatenate two strings without using in built,can u explain for this question
@balasaravanasiddagunta4177
@balasaravanasiddagunta4177 4 жыл бұрын
while using 'gets()' a warning is displayed on the console screen as 'gets' is a dangerous function and should not be used. Instead of 'gets()' we are asked to use 'fgets()' and 'puts()'.
@chandanakavala4876
@chandanakavala4876 2 жыл бұрын
Sir doubt headfile string.h ivakapoina parledha
@parashdas8674
@parashdas8674 5 жыл бұрын
Sir space is also a character so why can't we use single %s in scanf
@DHANUSHrockyartist
@DHANUSHrockyartist 6 жыл бұрын
😍❤
Structures in C | C Language Tutorial
25:44
Naresh i Technologies
Рет қаралды 952 М.
Strings in C Programming | Part-1 | C Language Tutorial
33:34
Naresh i Technologies
Рет қаралды 562 М.
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН
Linear Algebra | Vandermonde Matrix | GATE CSE Question | Computing Directly in 30 seconds.
10:13
EECS Academy[ई.ई.सी.एस अकादमी]
Рет қаралды 369
Pointers in C Programming | Pointer to Function | C Language Tutorial
15:39
Naresh i Technologies
Рет қаралды 398 М.
Strings in C Programming | Part-2 | C Language Tutorial
21:20
Naresh i Technologies
Рет қаралды 849 М.
Recursion in C Functions | C Language Tutorial
14:33
Naresh i Technologies
Рет қаралды 831 М.
Size of Pointers | C Language Tutorial
17:12
Naresh i Technologies
Рет қаралды 397 М.
Variables in C | C Language Tutorial
16:18
Naresh i Technologies
Рет қаралды 1,5 МЛН
Introduction to Pointers | C Language Tutorial
11:51
Naresh i Technologies
Рет қаралды 999 М.
Sizeof(), Limits.h in C | C Language Tutorial
16:10
Naresh i Technologies
Рет қаралды 531 М.
Static Memory vs Dynamic Memory | C Language Tutorial
16:30
Naresh i Technologies
Рет қаралды 272 М.
C_23 Formatted Input Functions in C Language || C Programming
19:16
Jenny's Lectures CS IT
Рет қаралды 278 М.