C_97 Passing String as an Argument to a Function | C Language Tutorials

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 86

  • @misturaojulari9707
    @misturaojulari9707 Рік тому +24

    In 19:47 - Pointers are read-only, meaning they cannot be modified when used to declare a variable, but arrays are read-and-write, which means their values can be changed. So in the main function, the strings should not be declared as character pointer arrays, they should be declared as character arrays i.e.:
    char str1[ ] = "string" and char str2[ ] = "string".

  • @rohitkanojiya7960
    @rohitkanojiya7960 2 роки тому +58

    in function main 19:54 we are declaring a pointer & a pointer stores only address of any variable but there we are trying to strore characters ,hence it's not working.

  • @abhishekpraturi536
    @abhishekpraturi536 3 роки тому +29

    mam could you please start python classes as your teaching is excellent and you are providing detail information in every class

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

    Char* str1 in main will give an error.since we are defining str as a pointer which store address of a char but it got string as value.

  • @mehtadhairya1599
    @mehtadhairya1599 3 роки тому +4

    Thank you so much mam ! You make me understand very nice. I learnt so much from you. You explain the concept so nice that there is no need to watch the video again. 🙏

  • @akshatshrivastava1580
    @akshatshrivastava1580 3 роки тому +1

    DAMN, SO UNDERSTANDABLE IT IS . THANKU FOR MAKING IT EASY.LOVE THE WAY YOU TEACH AND HOLD INTEREST .

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

    Confident and jolly teaching. 👍☺ Great skill.

  • @mohitrawat1773
    @mohitrawat1773 3 роки тому +6

    Mam please start c++ language after c language 🙏🙏🙏🙏

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

    Jenny i found you and i am so happy.
    Greetings from Caucasus

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

    hii mam you are explained very nice in all lectures thank you for good understanding

  • @mujahidkhan-nz1ts
    @mujahidkhan-nz1ts 3 роки тому +2

    Helpful for those who we're study...

  • @avulasudhakar2079
    @avulasudhakar2079 3 роки тому +1

    Ur explanation is super madam.I understood very well. I love u mam ❤️

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

    it is not running because we have to pass the address of str1 and str2 by using '&' operator in the function
    if the function call is modify(&str1,&str2); it should run

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

    I love you ma'am 💗 ur teaching is very good

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

    Your efforts are appreciable ma'am 🙏🙏🙏🙂🙂🙂

  • @jyotirani8232
    @jyotirani8232 3 роки тому +3

    Good morning mam 🙏🙏🙏

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

    Multiplication of matrix using functions (one matrix reading function and multiple function)
    Can u do this, i doesn't find it on Google

  • @Aditya-kp1jo
    @Aditya-kp1jo 3 роки тому +4

    Mem can you make video playlist on c++ and java also 🙏

  • @thegamerszone1931
    @thegamerszone1931 3 роки тому +1

    Thank You so much mam. Make VIdeo for python and R for begineers.

  • @ami...611
    @ami...611 3 роки тому +1

    Great Explanation

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

    Ma'am if possible take more questions from string and array

  • @ahmedkhalil7752
    @ahmedkhalil7752 3 роки тому +1

    You r great teacher
    Thank you ..😍

  • @AnotherEntrepreneur
    @AnotherEntrepreneur 3 роки тому +4

    Mam can you please start Java after this 🙏🙏🙏🙏🙏

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

    We can not change the 19:54 value because when we create a string with pointers, it is not actually a string , instead it is a string CONSTANT which can not be modified. It is read only type and ones we decleared it , we can not change but arrays are read write types whic allows users to modify. Am ı right ?

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

    Mam can you please tell me why program stop working when you declare string as pointer and passing it to a function.

  • @Omprakash-kz3zl
    @Omprakash-kz3zl 3 роки тому +4

    19:46 since we pass the address of a pointer we need to declare the function prototype with a double pointer

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

      Bro sorry to interrupt u
      Can u plz tell me why we need to declare a function with double pointer is that legit

  • @physiotherapymedico6148
    @physiotherapymedico6148 3 роки тому +1

    Mam make video on applied multimedia technique with pratical 😁plzz mam reply me

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

    At 13:26 i value is 5 so it will change 5th letter of khatri

  • @P.KEDITS4k
    @P.KEDITS4k 3 роки тому +1

    Good explanation 👍

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

    it gave error because pointer was not declare to any variable or array address. e,g char *str=&array;

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

    if we write as char* str[ ] = "jenny";
    then its not running so
    I think we use * for storing addresses which are numbers and here we are storing characters thats why it is stopped working.

  • @shraddhapawar5674
    @shraddhapawar5674 3 роки тому +1

    According to me char * str only store the first address of string

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

    thanku mam🙂
    can we find length of the array using range base for loop in other function ???
    please reply mam...

  • @vishalsonawane2361
    @vishalsonawane2361 3 роки тому +3

    kya ahap personal classes de Sakti hain agar ahap de Sakti hain to ahap c programming and Java programming ki kitni fees logi

    • @botify9400
      @botify9400 3 роки тому

      Saade bhot tej ho rahe ho 🙄

  • @skywalker-hg6qr
    @skywalker-hg6qr 7 днів тому

    is it possible for with return with argument??

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

    hit like whoever wish to continue the dbms lecture

  • @MOHDARIF-yq9ns
    @MOHDARIF-yq9ns 2 роки тому

    best lacture

  • @santhosh4832
    @santhosh4832 3 роки тому

    When will this playlist end like how many more videos is this gonna take ?
    Just wanted to know.

  • @AMANSINGH-zu4ry
    @AMANSINGH-zu4ry 2 роки тому

    how it can print some value in defination part becoz memory is vanished from defination after it return to calling function ?

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

    Mam will u please clear my dout.
    Mam in definition we have as void display(100) right
    But ,by printing the string we get Jenny
    How it is possible.....there also that has to print 100 only right.please clear my dout mam...

  • @tanzimahmed2886
    @tanzimahmed2886 3 роки тому +3

    Is there any plan for you to teach data science soon?

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

      Hllo bro..
      Are u a data science student?

  • @ganeswarsahoo1078
    @ganeswarsahoo1078 3 роки тому +1

    Mam please 🙏 replay me
    Which one is better B Tech cse from normal private college vs BCA from government autonomous college ??????

  • @pranjalneupane6876
    @pranjalneupane6876 3 роки тому +1

    Itni din tak kidarr chali thi sem nearly gonna finish🥺😤❤️

  • @ayushshinde7916
    @ayushshinde7916 3 роки тому +1

    OMG MAM! ap Computer Science ki Teacher hai na to ap ke Brain me konsa OS hai ?
    Mare Brain me to LEGACY GEN10 hai fully optimizer for speed, accuracy, emotions, analyzing & complexity and it was programmed by me and soon I will upgrade it by gen 11
    I have question ,
    Can you tell me the the Andromeda galaxy is programed is simulation for analyzing it which is the function is use for calculating the dark matter in tha galaxy which bind it in the group.
    Ans.-
    Get vaccine all of you guys 👦😘😉👏❤

  • @user-vg1je3kf1j
    @user-vg1je3kf1j 3 роки тому

    Ma'am you can discuss all this thing in Hindi... please do this

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

    Hey guys I am getting the length of string 1 but i couldn't print the modified string 2 for the changes done at 19:47

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

    file handling topic bhi btado mam

  • @JSR003
    @JSR003 3 роки тому +1

    Mam can you please start JAVA classes

  • @Mamata171
    @Mamata171 3 роки тому

    plz continue dbms viodeos mam

  • @HONEYSingh-zy5yz
    @HONEYSingh-zy5yz 2 роки тому

    Mam, can u explain 19:54 part

  • @anujeetkunturkar780
    @anujeetkunturkar780 3 роки тому

    Skip 0:47 to 2:28

  • @jashbeersingh7284
    @jashbeersingh7284 3 роки тому

    How many lectures left

  • @sohaibirshad4778
    @sohaibirshad4778 3 роки тому

    how many lectures left mam?..

  • @mujahidkhan-nz1ts
    @mujahidkhan-nz1ts 3 роки тому +1

    Hadona

  • @deepaksingsss
    @deepaksingsss 3 роки тому

    mam chehre pe ye glow konsi language sikhne se aata h?

  • @toxicComment
    @toxicComment 3 роки тому

    Mam please ye batadoo ki C. Language ka course khtm kabb karoge🧐🧐🥺🥺

  • @TechPandit-nc8mi
    @TechPandit-nc8mi 3 роки тому

    Gate for mtech for data science and machine learning job.. compulsory

    • @TechPandit-nc8mi
      @TechPandit-nc8mi 3 роки тому

      Any idea I already completed MCA but so much carrier gap problem.. pls suggest something... What's your qualification

    • @TechPandit-nc8mi
      @TechPandit-nc8mi 3 роки тому

      If you have any idea pls reply

  • @tinku0011
    @tinku0011 3 роки тому

    ♥️♥️

  • @vijaysinghvijaywada5193
    @vijaysinghvijaywada5193 3 роки тому

    Love you mam...❤🖤😘

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

    It’s not pronounced “kai-rr”...it’s pronounced “ch-aa-r”.

  • @mdfaisal3104
    @mdfaisal3104 3 роки тому

    Mam u r so cute teacher and u looking so simple that’s why u r cute😍😍😍

  • @yaswanthsiddhinatham5108
    @yaswanthsiddhinatham5108 3 роки тому

    ❤❤🥰

  • @toxicComment
    @toxicComment 3 роки тому

    87 vedio akele C ki ho gai total kitni hongi

  • @KANISHKARM-d8q
    @KANISHKARM-d8q 8 місяців тому

    Bit confusing

  • @SHYAM-bc8oz
    @SHYAM-bc8oz 3 роки тому

    Neet notes mam

  • @dhruvmachhi2990
    @dhruvmachhi2990 3 роки тому

    Ma'am i want to work with you as a thumbnail editor plz reply me if you are interested in it i will send some samples.
    Thank you.

  • @TopRTelugu
    @TopRTelugu 3 роки тому

    Your my crush ma'am 😘❤️

  • @palanikanuu5847
    @palanikanuu5847 3 роки тому

    Madam pls wait 5 years I marrage you 😊😊😊😊😊💐💐 I studying b.tech cyber security

  • @sajujames71
    @sajujames71 3 роки тому

    Mam, whats your fathers name??....