C_66 Program to Find Length of a String | C Programming Language

  Рет қаралды 236,816

Jenny's Lectures CS IT

Jenny's Lectures CS IT

Күн бұрын

In this lecture we will discuss a C program to find length of a string.
Best C Programming Tutorials: • Programming in C
*********************************************
Connect & Contact Me:
Jenny's Lecture Hindi: / @jennyslectureshindi
Facebook: / jennys-lectures-csit-n...
Quora: www.quora.com/...
Instagram: / jayantikhatrilamba
Twitter: / khatrijenny
Telegram Group Link: Jenny's Lectures
telegram.me/je...
*******************************************
More Playlists:
Programming in C Tutorials: • Programming in C
C++ Tutorials for beginners: • Lec 1: How to Install ...
Printing Pattern in C: • Printing Pattern Progr...
Best Python Tutorials for Beginners: • Python - Basic to Advance
Placement Series: • Placements Series
Data Structures and Algorithms: https: • Data Structures and Al...
Design and Analysis of Algorithms(DAA): • Design and Analysis of...
Dynamic Programming: • Dynamic Programming
Operating Systems tutorials: // • Operating Systems
DBMS Tutorials: • DBMS (Database Managem...
Tags:
strings, string in c, what is string, c programming tutorials, c programming, best c programming tutorials
#coding #strings #jennyslectures #cprogramming #clanguage

Пікірлер: 147
@THR17
@THR17 3 жыл бұрын
I have never thought that a youtuber would seriously have an impact on my Data Structures... *"THANKS ALOT MA'AM* 🙏🏼
@baibhavrajkumar418
@baibhavrajkumar418 2 жыл бұрын
#include #include int main(){ char str[60]="Mam you look soo beautiful" gets(str); printf("%s,str); return 0; }
@sudhanshuyadav4441
@sudhanshuyadav4441 2 жыл бұрын
😄
@KrishnaGupta-yc3jd
@KrishnaGupta-yc3jd 5 ай бұрын
Mam would be sad on your mistakes....gets is used as scanf, so why do you are using it as you aren't taking input from the user?
@lifemalayalamyoutube7192
@lifemalayalamyoutube7192 2 ай бұрын
Why are people obsessed with her looks, just be obsessed with her knowledge and kindness to help us. She also expect it only from us🙏🏾
@jenniferm.9666
@jenniferm.9666 2 жыл бұрын
Best KZbin C-Programming teacher! :D
@freddjefferson9612
@freddjefferson9612 2 жыл бұрын
Hello Ma'am. Thanks very much for your brilliant ideas. I really do appreciate your efforts.😊😊 But there's this small worry I got last week that I'll like to share with you. I was asked to read strings each seperated by a space. And the word "STOP" marks the end of the string
@JKA-sf7ll
@JKA-sf7ll 3 жыл бұрын
Interview tip:: we use for loop when we know value of n we use while loop when are not sure about value of n
@manojrajput9930
@manojrajput9930 2 жыл бұрын
Thanks 🦅❤
@closetoheart6120
@closetoheart6120 2 жыл бұрын
@@manojrajput9930 kyu ji while mai vi toh condition check hoti hai .. .. ..
@katamabhishek8844
@katamabhishek8844 3 жыл бұрын
We want notes mam for c language it is so helpful for us and congratulations for 500k 😍🎉🎉🎉🎉
@srinivasgoje3835
@srinivasgoje3835 3 жыл бұрын
Awesome Mam ....I m from Mechanical Domain and I have move to IT ...your vedios are helping me a lot to clear my concept
@chetansingh55
@chetansingh55 3 жыл бұрын
Thanks mam. Plz complete this C language series mam. These are very helpful. And I want to start DSA after this.
@YuvrajChowhan
@YuvrajChowhan 3 жыл бұрын
Mam, since you are taking an int main(), so you should return some integer value to the compiler.Nice lecture
@harishms5330
@harishms5330 Жыл бұрын
yes!!
@riyagupta8803
@riyagupta8803 3 жыл бұрын
Mam your videos are really helpful and I really want you to please cover all the topics of c with some programs in the same way as you have done in array,strings One thing more after C completion pls upload 2-3 video of simple project in C.
@sandeepnallala48
@sandeepnallala48 3 жыл бұрын
Man can you take classes on interview preparation data structures Algorithms as well please ?
@மின்விரிதாள்_விரிப்போம்_வாங்க
@மின்விரிதாள்_விரிப்போம்_வாங்க 3 жыл бұрын
Back to the basics! Nice explanation. Do we need two variables count and i? Why can't we use single variable?
@prashantpawar4948
@prashantpawar4948 2 жыл бұрын
not need, we can use only count or i 🙂
@bijoyetribhowmik9905
@bijoyetribhowmik9905 2 жыл бұрын
So that the next one can distinct the usage of count and i clearly.. as if you only use i, then it may cause confusion
@MohammedIbrahim-eu1mk
@MohammedIbrahim-eu1mk 3 жыл бұрын
Mam keep going on mam soon 1 million ki family banne waleeeho
@RajeshKumarMinaBEE
@RajeshKumarMinaBEE 3 жыл бұрын
Hello ma'am, can you upload all lectures in 2-3 days. Because my data structure & algorithm classes start from 3 August and requirements C language. So I humble request you.
@krunalchandewar5590
@krunalchandewar5590 2 жыл бұрын
thanks mam, smile & punches missing in vdo, i saw mostly all, u r so professional
@sigmainfinity5475
@sigmainfinity5475 3 ай бұрын
Tomorrow my exam and now I'm doing 7 th assignment from your lecture.... thanks 🙏 mam ❤
@rishasinha5770
@rishasinha5770 3 жыл бұрын
Your video is very helpful mam. Your videos helped to find reason of every word showing on the screen. I have seen many videos but no one nor my teacher really explains about how characters, digits are stored in memory or about index value. Mam, please upload some video of java also.
@elijahmikaelson740
@elijahmikaelson740 2 жыл бұрын
ma'am please make a vedio on string functions like strtok,strnlen ,strncmp.
@user-on3sd5oc9r
@user-on3sd5oc9r 9 ай бұрын
Thank u so much mam
@adityanikhate9223
@adityanikhate9223 3 жыл бұрын
Ma'am can you please teach Recursion of function in C
@sivakrishna6485
@sivakrishna6485 3 жыл бұрын
Upload daily 5 videos mam, I don't have time, next year I will start one startup company
@Ijk-tb7wf
@Ijk-tb7wf 5 ай бұрын
9:38 mam for loop is better then other 2 loop
@hardiksavaliya4516
@hardiksavaliya4516 2 жыл бұрын
Main point for mam she doesn't tell to like their video and not tell subscribe her channel.... it's good thing to compare of other channel.
@leonelmessi3010
@leonelmessi3010 2 жыл бұрын
Ma'am gets() is removed from the library. How to use fgets()?
@shankartirumala2789
@shankartirumala2789 2 жыл бұрын
Madam please do video about string length using call by address
@MDJAKIR-qj8ri
@MDJAKIR-qj8ri 3 жыл бұрын
Very good
@adroway
@adroway 3 жыл бұрын
KZbin recommended me
@ADARSHKUMAR-ne8ov
@ADARSHKUMAR-ne8ov 3 жыл бұрын
Maam aap sanskrit bhi padhayeee tho bhi mai din raat tyaar hun apki class attend krne ke liye..... Pr aap video bnana kabhi band mt kijiyega.......
@sudhanshuyadav4441
@sudhanshuyadav4441 2 жыл бұрын
Right bro😅😅😅
@harshpandey3500
@harshpandey3500 3 жыл бұрын
It's Very useful ☺☺
@rahulprasad9198
@rahulprasad9198 3 жыл бұрын
Ma'am, make a program to count the frequency of character in a string !
@gladiator9802
@gladiator9802 3 жыл бұрын
In case if length of the string is 100000000000 ,then loop will have to run length times and performance will be worst . Can't we loop till string length by 2 and for each iteration we swap with last and first element ,and foe next iteration we swap first+I with last-i. This way we have to loop only length/2 and using swaping string will be reversed . Next variant is we can use stack to reverse the string as stack is very fast coz it's maintained in main memory so it may up the performance than both approach .
@Nassir8535
@Nassir8535 Жыл бұрын
a data scientist from kenya🖐you teach better than my lec mam
@ss-li4mg
@ss-li4mg 3 жыл бұрын
Awesome class
@nandhucharan5858
@nandhucharan5858 3 жыл бұрын
Hello ma'am please make video on bitmasking in c
@benstroke9737
@benstroke9737 7 ай бұрын
Using for loop - #include void main() { char name[30]; int count=0; printf("Enter a Name "); gets(name); for(int i=0;i
@gurueducationandmotivation8140
@gurueducationandmotivation8140 Жыл бұрын
Mam You Are Great Mam , Thank YOU so MUCH mam , Even I am Biology Student , I can Understand programming, its all Because of You THANK YOU MAM KEEP ROCKING MA'AM
@anujeetkunturkar780
@anujeetkunturkar780 3 жыл бұрын
Skip 1:26 to 3:04.
@jeevaad6615
@jeevaad6615 3 жыл бұрын
u r a time saver for me man
@anujeetkunturkar780
@anujeetkunturkar780 3 жыл бұрын
@@jeevaad6615 Thanks sis
@OOAORAMEEZ
@OOAORAMEEZ 3 жыл бұрын
Mam...will u plz explain why do we use null character in string!?.. Like u told u will explain 😅 And fgets function also!
@kabirsarohe5166
@kabirsarohe5166 7 ай бұрын
Just Because to terminated the string . If we are not using null, then some garbage value will be shown in output
@Iqbalsharib4
@Iqbalsharib4 3 жыл бұрын
Ma'am when are you going to start python series?
@meghasinha1706
@meghasinha1706 3 жыл бұрын
Thanks for your efforts mam
@learningdatasciencealongme190
@learningdatasciencealongme190 3 жыл бұрын
Not able to focus on subject 🙄🙄
@IndianSubmarine804
@IndianSubmarine804 8 ай бұрын
Goli beta masti nahi
@riteshbisht94
@riteshbisht94 8 ай бұрын
Tu iss man ka daas na ban iss man ko apna daas banale 🗿
@mindyourbussiness4
@mindyourbussiness4 8 ай бұрын
@@IndianSubmarine804 🐐 rohith sir
@Raj-nl2fo
@Raj-nl2fo 7 ай бұрын
Poduko emundile ika 😅
@sandipmishra2831
@sandipmishra2831 7 ай бұрын
@@riteshbisht94 😏😏
@Mr_Addy1
@Mr_Addy1 2 жыл бұрын
what if there is space between jay anti but still i want the output of string length as 7 is it possible mam??
@abijithasokan2632
@abijithasokan2632 Жыл бұрын
Perfect teacher doesn't exi.. 🙄
@jeanrioux8750
@jeanrioux8750 Жыл бұрын
The program "With our own logic" could be simplified. Since the variables count and i have always the same value, using only one of the variables would be enough. int main() { int i = 0; char name[30]; printf("Enter name: "); gets(name); while(name[i] != '\0') { i++; } printf("The length of the string is: %d", i); }
@thilakparamasivan8409
@thilakparamasivan8409 Жыл бұрын
I too thought that
@basharanwr3649
@basharanwr3649 Жыл бұрын
@@thilakparamasivan8409 I think she know that but made it with two var make it easy to understand the index
@crazyhacker2437
@crazyhacker2437 3 жыл бұрын
Hello Mam, I am working in IT company in cyber security domain. I need to audit code for possible vulnerabilities. Please make videos on below topics. 1) Double pointers 2) Pointers to structure 3) Pointers to arrays 4) Dynamic Memory Allocation and deallocation.
@simon-gh1pt
@simon-gh1pt Жыл бұрын
#include int main(){ char name[10]; printf("enter name: "); gets(name); int x=printf("%s ",name); printf("%d ",x); printf("Thank you %c",(char)2); return 0; } / * you can try this * /
@shraddhapawar5674
@shraddhapawar5674 3 жыл бұрын
Lot's of love and blessings from shraddha. Ma'am if possible will you please make video on how to install ide.
@gummadiraju6425
@gummadiraju6425 9 ай бұрын
Ma'am u said that length of the string is number of characters +1 ...but in strlen..ur saying end of the string
@sanjeetharan1143
@sanjeetharan1143 8 ай бұрын
@rvce
@rvce Жыл бұрын
We can do it without using count right, just using i ..........
@letsbegininbinaryworld
@letsbegininbinaryworld 3 жыл бұрын
Madam Please DBMS Ka Hindi me lecture banaye
@Ijk-tb7wf
@Ijk-tb7wf 5 ай бұрын
Thank you mam 😊
@RAHULKUMARSINGH-qp9mc
@RAHULKUMARSINGH-qp9mc 3 жыл бұрын
Came to say I love you mam.. I am NULL .. Need a next or may be both pointers..
@Proudmuslim32
@Proudmuslim32 8 ай бұрын
superb
@RTBOSS
@RTBOSS 3 жыл бұрын
😗....😁 by the way thank you so much...
@ececse
@ececse Жыл бұрын
thankyou ma'am 🙏
@AbhiAbhi-kv3nk
@AbhiAbhi-kv3nk 3 жыл бұрын
Mam when will you finish the c language (How many days/ months) and start the other topics.... Mam please reply to my comment....
@TarunTech01
@TarunTech01 9 ай бұрын
Mam please do video on memmove(), memset(), memcpy()
@tadepallirahul9119
@tadepallirahul9119 3 жыл бұрын
Hello mam please make a video on preparation plan for GATE exam from the b.tech 1st year Please make a video on it
@741ibrahim2
@741ibrahim2 3 жыл бұрын
yeah its important mam
@vikaskumar-up8yg
@vikaskumar-up8yg 3 жыл бұрын
Mai share market Mai trading karta Hu ,Mera age 21 hai lekin Mai coding Ka vedeo Dekh Raha Hu kyuki ye Jo teacher hai inke English bolne Ka tarika mujhe bahut bahut pasand ,mujhe English utna nhi hai ata hai lekin samjh Jata Hu Thora bahut Ulta sidha samjhta Hu😀😀😀😁,mujhe sirf inke English sikhna hai has coding mujhe samjh nhi ata hai
@abhishekpimpalshende4085
@abhishekpimpalshende4085 2 жыл бұрын
char str[]={'a','b','c','d',' ','e','f','g','h'}; what is the length of above string?? strlen(str)=???
@sarvagyaawasthi2002
@sarvagyaawasthi2002 Жыл бұрын
9
@deepika5880
@deepika5880 3 жыл бұрын
Ma'am please aap Binary tree ke deletion and searching ka bhi implementation ke lie video upload karona
@prasannaguna2643
@prasannaguna2643 Жыл бұрын
mam,how can the string use in function? how to pass the array in function?
@kunalsehgalkunalsehgal5682
@kunalsehgalkunalsehgal5682 Жыл бұрын
Mam please run this with for loop also
@melthabah1158
@melthabah1158 3 жыл бұрын
Thank you mam
@A1Tech6111
@A1Tech6111 2 жыл бұрын
Thanks medam
@adhithyamudhiraj8536
@adhithyamudhiraj8536 3 жыл бұрын
Mam your dress is soo nice👌👌
@destroyer_x9595
@destroyer_x9595 2 жыл бұрын
can anyone help me telling how to use for loop and do-while loop in this code?
@abhishekrajput8392
@abhishekrajput8392 Жыл бұрын
Can canyone tell me while we use puts() in place of gets(). It is not printing lenght of string and it is printing any other string that I had not entered in input
@gokulraj8302
@gokulraj8302 2 жыл бұрын
12:18
@vivekghadage7208
@vivekghadage7208 3 жыл бұрын
When Python ?
@sunnykvofm
@sunnykvofm 3 жыл бұрын
Mai fir Jenny mam ki video dekhne aa gya ..... Har pal sochta hu cs se btech kyu nahi ki 😭😭
@_kucial_
@_kucial_ 2 жыл бұрын
Jo without user-defined function se wount krne wala tha....usme count ko q increment kiya gya haa ??? Koi batao i ka increment samaj mei aaya
@prashant7895
@prashant7895 3 жыл бұрын
please teach us e&tc subjects
@send2meanything
@send2meanything 2 жыл бұрын
Write a C program to find first occurrence of a word in a given string.
@AmitPandey_10
@AmitPandey_10 Жыл бұрын
if(jenny == beautiful){ cout
@vasusharma6210
@vasusharma6210 2 жыл бұрын
helpful video
@kumarvicky6337
@kumarvicky6337 3 жыл бұрын
ok
@santanusaha3762
@santanusaha3762 2 жыл бұрын
mam %d ta %s hoga . on the 1st Program
@valentinehrahsel1854
@valentinehrahsel1854 2 жыл бұрын
hmeltha reuh hle mai a 🤣🤣
@xDeadlyWarriorX
@xDeadlyWarriorX Жыл бұрын
For some reason mine is showing len 0. size_t strLen = strlen(palavra); printf("Size of String >> %zu", strLen);
@shorttechnicsaty2984
@shorttechnicsaty2984 3 жыл бұрын
Today I am late 😭.
@nikhilpragada1562
@nikhilpragada1562 2 жыл бұрын
I like your dressing style mam
@techelitee410
@techelitee410 3 жыл бұрын
Ma'am we can use for loop also as well😊
@zon4008
@zon4008 2 жыл бұрын
Can you please give me code using for loop
@rajeshjena5508
@rajeshjena5508 3 жыл бұрын
❤️❤️❤️❤️
@sk_ismail_hsn
@sk_ismail_hsn Жыл бұрын
How to solve this using fgets()?
@Mahaveergautam
@Mahaveergautam 3 жыл бұрын
Fourth comment
@yadav211
@yadav211 3 жыл бұрын
Preety cute mam ❤️♥️
@mont76
@mont76 2 жыл бұрын
Mam ap bohat sundar ho
@send2meanything
@send2meanything 2 жыл бұрын
mam can u plz solve this question
@geethalatha4187
@geethalatha4187 2 жыл бұрын
Heroin 👸
@nakuldhotarkar8790
@nakuldhotarkar8790 3 жыл бұрын
Ma'am I want some help for c ++ program
@ParamitaDey-bi1mg
@ParamitaDey-bi1mg 3 жыл бұрын
17:09 if we use puts() function then why we are using gets() function ?? PLEASE REPLY
@ganeshmahajan8695
@ganeshmahajan8695 3 жыл бұрын
puts( ) is for printing the string and gets( ) is for getting the input from user
@ParamitaDey-bi1mg
@ParamitaDey-bi1mg 3 жыл бұрын
@@ganeshmahajan8695 Thanks for solving my doubt
@ParamitaDey-bi1mg
@ParamitaDey-bi1mg 3 жыл бұрын
@@ganeshmahajan8695 I cannot understand the use of null pointer .. If we use null pointer then also if program is crashing then why to initialize ptr with null pointer ? Can you say me this ans
@higgsboson67
@higgsboson67 7 ай бұрын
@@ParamitaDey-bi1mg Did u get the answer?? 😒
@ParamitaDey-bi1mg
@ParamitaDey-bi1mg 7 ай бұрын
@@higgsboson67 I don't know exact answer but I think null pointer is used so that we can check whether program can run or not
@madhavkumar895
@madhavkumar895 3 жыл бұрын
💕💞
@codingisfun1
@codingisfun1 7 ай бұрын
Count length of a string 👇 kzbin.info1IzNBx05vkA?si=Sm1DNTDVqqagNWa0
@shyamsuratyadav655
@shyamsuratyadav655 3 жыл бұрын
Second to comment 😭
@1shAggarwal
@1shAggarwal 2 жыл бұрын
Shyamsurat hone ki baad bhi😭.
@shilpashreee23
@shilpashreee23 Жыл бұрын
Aap plz Hindi me v study karaya kro plz 😓😓😣😣
@akashchandranial1192
@akashchandranial1192 3 жыл бұрын
I love you mam
@arshitsingh1949
@arshitsingh1949 3 жыл бұрын
First to comment 😀
@arindamroy5681
@arindamroy5681 11 ай бұрын
ma'am you r looking cute 🥰❤
C_67 C Program to concatenate two strings | with strcat() and without strcat()
21:30
C_65 C Program to Read and Print a String | C Programming Tutorials
13:06
Jenny's Lectures CS IT
Рет қаралды 210 М.
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 13 МЛН
Cute
00:16
Oyuncak Avı
Рет қаралды 5 МЛН
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 32 МЛН
C_71 Pointers in C - part 1| Introduction to pointers in C | C Programming Tutorials
17:02
Cursor Is Beating VS Code (...by forking it)
18:00
Theo - t3․gg
Рет қаралды 67 М.
C_62 Strings in C - part 1 | C programming tutorials
15:41
Jenny's Lectures CS IT
Рет қаралды 487 М.
C_109 Structures in C - part 1| Introduction to Structures
14:42
Jenny's Lectures CS IT
Рет қаралды 436 М.
C_63 Strings in C-part 2 | Read a String using scanf and gets function
18:05
Jenny's Lectures CS IT
Рет қаралды 303 М.
C_84 Introduction to Functions - part 1 | C Language Tutorials
25:27
Jenny's Lectures CS IT
Рет қаралды 972 М.
C_104 Recursion in C | Introduction to Recursion
18:51
Jenny's Lectures CS IT
Рет қаралды 417 М.
C_133 Dynamic Memory Allocation using malloc() | C Language Tutorials
23:44
Jenny's Lectures CS IT
Рет қаралды 196 М.
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 13 МЛН