C_62 Strings in C - part 1 | C programming tutorials

Поділитися
Вставка
  • Опубліковано 8 лип 2024
  • In this lecture we will discuss:
    - What is String in C?
    - How to declare a string?
    - How to initialize a string in C?
    Best C Programming Tutorials: • Programming in C
    *********************************************
    Connect & Contact Me:
    Jenny's Lecture Hindi: / @jennyslectureshindi
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/profile/Jayanti...
    Instagram: / jayantikhatrilamba
    Twitter: / khatrijenny
    Telegram Group Link: Jenny's Lectures
    telegram.me/jennyslectures
    *******************************************
    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

КОМЕНТАРІ • 503

  • @ankan7193
    @ankan7193 Рік тому +110

    You are like the last-minute savior of us 1st-year students who are having exams tomorrow morning and started studying now ...I had a brief idea about everything but now its crystal clear

  • @vimala7830
    @vimala7830 2 роки тому +355

    Thank you akka vera level clear explanation 🤩

  • @DMan003
    @DMan003 9 місяців тому +74

    16:56 question answers..
    1. Valid
    2.Size=12(1 null character)
    3.Invalid(No space for null character in memory)
    4.Size=6
    5.Valid

    • @vinayakk2745
      @vinayakk2745 7 місяців тому +6

      3rd one wouldn't throw any error, it's valid

    • @But_tHope
      @But_tHope 7 місяців тому

      @@vinayakk2745 it should be 6, not 5.

    • @jellyfish1772
      @jellyfish1772 7 місяців тому

      yes@@But_tHope

    • @skywa1ke7.a
      @skywa1ke7.a 6 місяців тому +5

      @@But_tHopeyes it should be but it will not give any error

  • @delllaptop519
    @delllaptop519 2 роки тому +22

    printf(''Who Is Jenny Mam ? ");
    output : jenny mam who is alredy stolen my heart 😜

  • @princereshav9964
    @princereshav9964 2 роки тому +152

    We have C language in our coming semester. Perfect time to study.
    And your Data Structure video are better than Unacademy's.

    • @computer5548
      @computer5548 2 роки тому +2

      ua-cam.com/video/sStlBoYbaHs/v-deo.html

  • @rayhanmahmud6579
    @rayhanmahmud6579 2 роки тому +131

    s1 : Allowed
    s2 : Allowed, size 12 byte
    s3: Not Allowed
    s4: Allowed, size 6 byte
    s5: Allowed

    • @prathamshrivastava6641
      @prathamshrivastava6641 2 роки тому +23

      S3 is allowed because counting starts from 0 so it will be of 6 spaces only

    • @prathamshrivastava6641
      @prathamshrivastava6641 2 роки тому +7

      Similarly in S2 it will be return as 11 not 12 mam has asked about missing thing right so we have to write that not size

    • @ChirantanSadhu
      @ChirantanSadhu 2 роки тому +21

      @@prathamshrivastava6641 NO bro, we always put length in case of initialization and for accessing we use index ,as we are initializing here so here length is 5 .And total number of characters are 6 (including null character).So it is not allowed.

    • @Kvr02
      @Kvr02 2 роки тому +3

      @@prathamshrivastava6641 no bro s3 is not allowed

    • @RahulSingh-pf7uj
      @RahulSingh-pf7uj 2 роки тому +3

      @@ChirantanSadhu na bhai maine run karke dekha and Hello print ho gya (i use Code Blocks for programming)....so S3 is allowed bcoz HELLO mae 5 characters hai aur size bhi 5 hai ....as ma'am said in starting ki Null character declare nhi kara hai toh by default null character will be declared by compiler but question is "if size is 5 toh null character ke liye space hi nhi baccha" ab ya toh yeh Code Blocks mae run kar gya isliye tum log ek baar TURBO C mae run karke batana muje comment section mae ki TURBO C mae run hua ya nhi

  • @manvanth4713
    @manvanth4713 2 роки тому +21

    It's a privilege to watch ur stuff...the way u tutor is a way ahead.. I could say this with a sigh of bliss..

  • @harshasandaruwan6357
    @harshasandaruwan6357 2 роки тому +37

    Madam.I'm a Sri Lankan University Student.thank you for every lessons.very clear vedios.god bless you

  • @rashmiranjannayak8638
    @rashmiranjannayak8638 2 роки тому +11

    10:27 yaar make me fall in love with your way of teaching. Really appreciated

  • @RobertRindik
    @RobertRindik Рік тому +14

    Ma'am, you are a n̶a̶t̶i̶o̶n̶a̶l̶ global treasure.
    Thank you very much for educating us for free.

  • @34_abdimajidmohamed53
    @34_abdimajidmohamed53 2 роки тому +12

    I am from Somalia So Madam I learn many courses in your channel and i understood very well so I proud you🙏🙏

  • @shubhampatil4631
    @shubhampatil4631 2 роки тому +4

    i love the way you teach mam ,means its simple and clear.

  • @d__sou_2238
    @d__sou_2238 Рік тому +4

    Best online teacher... Padha ti bhi acchi ho... Or dakhna ma bhi... To ander sa energy ata ha pardhna ka liye

  • @UICS_ViveshNarenSriRamoj-jo7wu
    @UICS_ViveshNarenSriRamoj-jo7wu 2 роки тому +34

    char s3[5]="hello"; has error because size of string is 6(no of character+1) but its given as s3[5]

  • @jacinta1199
    @jacinta1199 2 роки тому +40

    You did a great job for all of us. Your explanation is so clear and simple and that's what a beginner students need. Thank you so so much❤️

    • @computer5548
      @computer5548 2 роки тому

      ua-cam.com/video/sStlBoYbaHs/v-deo.html

  • @tarikazizi8597
    @tarikazizi8597 Рік тому +8

    Nice knowledge...nice way to explain... Sure God will rewards you.

  • @sairampolisetty2059
    @sairampolisetty2059 2 роки тому +15

    Mam thank you so much..
    Please keep on doing videos on C language.And complete it as soon as possible .
    Because I am learning C language through your videos.
    👍🏻👍🏻🙏🏻Thank you

    • @computer5548
      @computer5548 2 роки тому

      ua-cam.com/video/sStlBoYbaHs/v-deo.html

  • @kamran888ali
    @kamran888ali 2 роки тому +2

    Ma'am jenny you are a genuine Professor, i am from Pakistan 🇵🇰, i learnt it very well

  • @cooltv7011
    @cooltv7011 2 роки тому +4

    Smart teacher ,smart teaching..I am from sri lanka..🇱🇰

  • @MSvinesss
    @MSvinesss 2 роки тому +4

    mam you are the only one teacher that explain with zero my doughts are flashed by the dry runn of the program thank you so much mam for the great content...

  • @lovejotkaur1689
    @lovejotkaur1689 Рік тому +7

    1st s1 is correct.
    2nd s2 ia [12].
    3rd s3 is wrong❌.
    4th s4 is [6].
    5th s5 is correct✅.

  • @villageLifevlog-sb4vb
    @villageLifevlog-sb4vb 2 роки тому +2

    Mam ur teaching method is soo soo fablous and easy to get ....lots of love mam....🥰🥰❤❤

  • @tarikazizi8597
    @tarikazizi8597 2 роки тому +1

    Bless your parents as they offer such beautiful brain to the world.

  • @alexandertakele7528
    @alexandertakele7528 2 роки тому +3

    I seriously like and use your lectures you will be a good programmer soon, thank you !!

  • @Happy_boy10
    @Happy_boy10 Рік тому

    Ma'am ur smiling is just killing me without any pain ......
    N Thank you so much for this type of lovely explanation.. 💕

  • @ps709
    @ps709 2 роки тому +17

    By when this series be completed?
    Also apart from video lectures can you take up some really important questions asked in placement exams(strings code,functions etc)

  • @rohitnagar7785
    @rohitnagar7785 2 роки тому +1

    Very awesome moment when u forgot.
    Excellent friend guide teacher....

  • @MMNayem-dq4kd
    @MMNayem-dq4kd 2 роки тому

    Your teaching skill and smile are
    great

  • @HarishSingh-gg4hs
    @HarishSingh-gg4hs 2 роки тому +1

    Thank you so much for this video mam🤗❤

  • @hemanthlanke4652
    @hemanthlanke4652 2 роки тому

    Super akka chala baga explain chesav 👋👋 verey level iam became a big fan of u

  • @chaitralinaidu8019
    @chaitralinaidu8019 2 роки тому

    Best Playlist For Beginner

  • @gsandeep7667
    @gsandeep7667 Рік тому

    Ur teaching is fabulous mam ❤️‍🔥🥰

  • @kaykang8808
    @kaykang8808 2 роки тому

    i'm really love your eye ; from cambodia. i appreciate it.

  • @abhishek5212
    @abhishek5212 6 місяців тому

    ❤❤❤Thank you so much for this playlist❤❤❤❤

  • @LE-Anjali
    @LE-Anjali Рік тому +1

    s1:valid
    s2:12 bytes
    s3:not valid ,because it has size is 5 ,but it should take the null value also. it should be size of 6.so it is invalid
    s4:6 bytes
    s5:valid

  • @yatindrakumar7434
    @yatindrakumar7434 2 роки тому +1

    Thank u mam. you are the best

  • @rkscp7711
    @rkscp7711 2 роки тому +2

    That was so cute moment at the time between 10.25 to 10.30
    I just watched her pretty smile
    Her smile is like an blooming flower 🌼
    I won't forget this pretty moment ❤️🍁✨👍

  • @PROBERevealer
    @PROBERevealer 2 роки тому +6

    Thank you professor 😉👍🏽

    • @computer5548
      @computer5548 2 роки тому

      ua-cam.com/video/sStlBoYbaHs/v-deo.html

  • @lokeshpentakotalokeshpenta534
    @lokeshpentakotalokeshpenta534 2 роки тому

    Thankyou for teaching love you 💞

  • @bimglobal8405
    @bimglobal8405 11 місяців тому +4

    ALX student finding hope from your lectures. Thank you ma'am

  • @Dileepkumar_Erra
    @Dileepkumar_Erra 2 роки тому +5

    Big fan of you and your lectures.....❤️

    • @computer5548
      @computer5548 2 роки тому

      ua-cam.com/video/sStlBoYbaHs/v-deo.html

  • @equinox6833
    @equinox6833 2 роки тому +1

    Mam you smile is killer 🔥🔥🔥like ur teaching style 💖

  • @sonalirajak227
    @sonalirajak227 2 роки тому

    U r the best technical guruji

  • @vineetahuja1375
    @vineetahuja1375 2 роки тому +3

    Mam please start making videos on Object oriented programming of c++ also and java also

  • @vbrathodrathod8021
    @vbrathodrathod8021 Рік тому

    Thanks a lot ....🙏🙏🙏🙏🙏🙏🙏ma'am nice explanation method.....👍

  • @sandaliyasara6000
    @sandaliyasara6000 Рік тому

    Thanks from Sri Lanka 🇱🇰 ❤

  • @chawais3858
    @chawais3858 5 місяців тому +2

    1: valid
    2 : 11
    3 : invalid
    4 : 6
    5 : Valid

  • @meghasinha1706
    @meghasinha1706 2 роки тому

    Thanks for your efforts mam

  • @channelrtrallvideos571
    @channelrtrallvideos571 Рік тому

    TQ for explaining to students

  • @godaverthinaga.manoj.balaj6637

    Thank you mam very clear videos god bless you mam thank you mam

  • @vikaskesharwani2125
    @vikaskesharwani2125 2 роки тому +12

    I feel so thankful watching your lectures

    • @computer5548
      @computer5548 2 роки тому

      ua-cam.com/video/sStlBoYbaHs/v-deo.html

  • @divya.v3350
    @divya.v3350 Рік тому

    Mam keep doing thizzzzz videos really helpful💜

  • @haleemasadia5108
    @haleemasadia5108 Рік тому

    Mam you are great personality

  • @l.lawliet4636
    @l.lawliet4636 Рік тому +20

    S1 - Valid;
    S2 - Valid, Size - 12;
    S3 - Not Valid cause no space fir null character;
    S4 - Valid, Size - 6;
    S5 - Valid.

  • @derejebeyene4371
    @derejebeyene4371 2 роки тому +1

    i thanks you very much.

  • @divyanshbalodhi5642
    @divyanshbalodhi5642 Рік тому +1

    Mazaa aa gayaa ma'am ji🙏

  • @AtulEditz-fz8oc
    @AtulEditz-fz8oc 7 місяців тому

    😊 thanks mam to solve my query.

  • @PankajKumar_IT
    @PankajKumar_IT 2 роки тому +3

    Jenny lecture and Naresh IT both r best....🙏🙏

    • @computer5548
      @computer5548 2 роки тому

      ua-cam.com/video/sStlBoYbaHs/v-deo.html

    • @venunaik1917
      @venunaik1917 Рік тому

      Jenny mam lectures are best than naresh it..

  • @santanusaha3762
    @santanusaha3762 2 роки тому

    Mam this is too good . Mam thank you mam

  • @safwanbinhasan6445
    @safwanbinhasan6445 4 місяці тому

    Mam your explanation is very good

  • @sunilguguloth6183
    @sunilguguloth6183 Рік тому

    Mam,You are god of me and lst year students and my friends

  • @GokilaT-vs9po
    @GokilaT-vs9po 8 місяців тому

    Good explanation mam❤

  • @linoy82
    @linoy82 2 роки тому +1

    char comment[SIZE] = "thank you so much Jenny. Loved your video \0";

  • @assk1728
    @assk1728 2 роки тому

    Super explanation mam

  • @benstroke9737
    @benstroke9737 5 місяців тому

    1- Valid =====size is 50 and array of characters
    2- Valid =====size is 11 characters+1 that is 11 and
    3-Invalid===== because size is 5 we want size 6 the last character in null \0
    4-Valid====== size is 6 0 to 5
    5-Valid====== white space is done

  • @tahamilff1672
    @tahamilff1672 6 місяців тому

    U r my programming mam❤

  • @AmrBinAas
    @AmrBinAas 5 місяців тому

    Thanks Ma'am ✨

  • @Niteshyadav-os1zl
    @Niteshyadav-os1zl 2 роки тому +2

    thanks for providing such type off video ......................

    • @computer5548
      @computer5548 2 роки тому

      ua-cam.com/video/sStlBoYbaHs/v-deo.html

  • @Z.mahesh6748
    @Z.mahesh6748 4 місяці тому +1

    Exams are near 😮
    No need to fear 😨
    When jenny mam is hear👍💪💪💪💪💪💪

  • @jellyfish1772
    @jellyfish1772 7 місяців тому

    thank you

  • @sonic-ex7uf
    @sonic-ex7uf Рік тому +1

    Mam in case of ''we rock'' we need to provide a null character i guess otherwise it becomes a char array.

  • @atikrehamanatikrehaman6775
    @atikrehamanatikrehaman6775 Рік тому +1

    Your content so helpful and java course start please ma'am

  • @frankievexx
    @frankievexx Рік тому +1

    A clear definition of beauty with brains. What a clear explanation. Impressive

  • @harishmahara1934
    @harishmahara1934 Рік тому

    Tq much love

  • @ja3r
    @ja3r 2 роки тому +2

    S1= allow
    S2=allow size=10
    S3=this is also allow but "hello" ke baad ek character garbage value print hogi
    S4=allow size=6
    S5=allow

    • @lakshsinghania
      @lakshsinghania Рік тому +1

      the size of s2 will be 11 not 10
      otherwise it will show a warning message and print 1234567891 not 12345678910

    • @lakshsinghania
      @lakshsinghania Рік тому

      but as maam said in her next video she took the string as "Jayanti Khatri" and then she said that the size should be atleast 15 not 14
      so if we see here than for s2 the size should be 12 and s3 is not allowed because the size should be 6
      if u run it and specify the size as 11 and 5 for s2 and s3 it will work , idk how

    • @ja3r
      @ja3r Рік тому

      @@lakshsinghania I have run s2 and s3 on decoder compiler and it is giving same size in output

  • @SahibSingh-dn8we
    @SahibSingh-dn8we Рік тому

    How nice voice... For teaching i will give you 10 out of 10, But for voice 100 out of 10

  • @moizawan1807
    @moizawan1807 6 місяців тому

    1... valid
    2.... size will be 12 bcz of 1byte for null value
    3... it should be invalid according to lecture of mam but it is showing a correct output
    4... valid and size will be 6
    5..... valid

  • @nilammhetre5897
    @nilammhetre5897 2 роки тому

    Thank you so much mam..

  • @srkpallapolu5932
    @srkpallapolu5932 2 роки тому +2

    Hi Jenny, at 9:02 location you were explaining like 6 to 9 locations some garbage values , but it will fill with '\0' NULL Character itself. can you plz confirm it if I am wrong.

  • @kunasinku2495
    @kunasinku2495 Рік тому

    Thank you mam🙏🙏🙏🙏

  • @priyanshugupta7402
    @priyanshugupta7402 Рік тому

    All are valid

  • @mdshaghillamaan6837
    @mdshaghillamaan6837 2 роки тому +4

    Classes are going superb 👍mam.
    But still I want to request you to upload 2 to 3 videoes per day as I want to complete atleast 1 topic per day as I am giving time around 8 to 12 hours per day in studying coding

    • @computer5548
      @computer5548 2 роки тому

      ua-cam.com/video/JK1j1R8ukCk/v-deo.html

    • @arinjain25
      @arinjain25 2 роки тому +3

      in which year u are bro?or u r not in college? plz reply

  • @telecommunicationstraining7085
    @telecommunicationstraining7085 2 роки тому +1

    Madam you are well talented and have good grip on your knowledge .
    Respect from your Neighborhood Pakistan.🤩

  • @user-ws6yj4ok7f
    @user-ws6yj4ok7f Рік тому +1

    mai commerce student hu magar pata nahi kyu kuch samajh nahi aaya par dekh ke achha laga

  • @bhargavsai798
    @bhargavsai798 6 місяців тому +1

    Love u mam😍

  • @funworld3530
    @funworld3530 2 роки тому

    Thank you ma'am

  • @jasmodinali
    @jasmodinali 2 роки тому

    Thank you mam

  • @Annachifishing
    @Annachifishing Рік тому

    It's really nice baby...i understood well❤

  • @shreeS0702
    @shreeS0702 2 роки тому +1

    Mam.pls upload Pythagoras Triplets 🙏🙏🙏🙏🙏

  • @nitishkhatri7291
    @nitishkhatri7291 Рік тому

    🙏Thanks 👌✨

  • @bhukyaramesh3055
    @bhukyaramesh3055 2 роки тому +1

    Mam your expression killing ❤️

  • @manasvilondhe3998
    @manasvilondhe3998 4 місяці тому +2

    All are valid except s3

  • @skywa1ke7.a
    @skywa1ke7.a 6 місяців тому

    1: Valid
    2: Valid and the size is12.
    3: Valid you will get no error if u will print S3 u will get helloÇ . The size of S3 is 5.
    4:Valid and the size is 6.
    5:Valid

  • @abdulrehman9441
    @abdulrehman9441 Рік тому

    Thank u mam

  • @ravip98670
    @ravip98670 2 роки тому

    Thank you

  • @Thanusree234
    @Thanusree234 2 роки тому

    Thanks

  • @AdityaGupta-bv7cw
    @AdityaGupta-bv7cw Рік тому +1

    I'm studying it before going to college 🎓

  • @jagadeeshkj5561
    @jagadeeshkj5561 2 роки тому +4

    S3[5] = "Hello" is not having enough storage for the string, as given strings always ends with "\0"

  • @b38vivek36
    @b38vivek36 2 роки тому

    I attended your lectures to see u mam 🙈

  • @harounmanger994
    @harounmanger994 Рік тому

    Nice explaining and nice laughing in mid.