C_96 Passing Array as an Argument to a Function in C | C Language Tutorials

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 152

  • @ParamitaDey-bi1mg
    @ParamitaDey-bi1mg 3 ปีที่แล้ว +142

    Thanks miss for explaining this topic in English because students like me who belong to non hindi speaking states are getting equal opportunity to learn this topic from you... Thanks a lot Maam

    • @Raju_Sharma852
      @Raju_Sharma852 2 ปีที่แล้ว +9

      Also people who are not like you, who only understand Hindi are not getting equal opportunities to learn. Would you like to say something on that ??

    • @ParamitaDey-bi1mg
      @ParamitaDey-bi1mg 2 ปีที่แล้ว +14

      @@Raju_Sharma852 If we take CSE it doesn't matter which language we know or not we should try our level best to understand english . And as we are not english speaker by birth so we should listen English lecture to increase our English vocabulary power.....

    • @anonymousarmadillo6589
      @anonymousarmadillo6589 2 ปีที่แล้ว +6

      @@Raju_Sharma852 There are plenty of other channels that teach in Hindi, let them watch those.

    • @Raju_Sharma852
      @Raju_Sharma852 2 ปีที่แล้ว +1

      @Razeen Asief Then why don't our South Indian brothers and sisters upload video on such topics ( JEE, UPSC, Programming etc) when cities like Bangalore and Hyderabad is the hub of technology/tech industries ??

    • @helloworld2054
      @helloworld2054 2 ปีที่แล้ว +3

      Damn these people are arguing over a language like seriously 🤦

  • @ayushshinde7916
    @ayushshinde7916 3 ปีที่แล้ว +12

    Mam I have done my exam but I didn't prepare for it so I watched your lecture but I forgot to do this before my exam at 12 pm to 2pm and I watched our lecture at 4pm for preparation for exam and the fun fact is I got 99.98% without preparation 😅🙃🙂😄 thanks for helping me to optimize LEGACY GEN10 for exam logic and preparation.
    Be single and an stay 💯😌 motivated because after relationship you can't be motivated you only distracted 💯🤧😌🤷
    Janhit main Jari,
    Ladki padhaegi padhai pe distraction ki bahari

  • @saqibjaved7744
    @saqibjaved7744 3 ปีที่แล้ว +11

    when i am learning java frames, than why i am here 😁😁😁
    Just to support you mam , i still remember dsa and myself before 2 days before exam
    thanks for videos 💖💖💖

  • @riyagupta1841
    @riyagupta1841 3 ปีที่แล้ว +7

    Thanku so much mam
    Because of you now I am getting this concept
    You are a wonderful teacher

  • @MKO11
    @MKO11 ปีที่แล้ว +2

    your videos have been very helpful to me as a student and i have gained confidence to as well anytime i write a C program. Thank you for your dedication in making these videos

  • @himanshu-x8s6b
    @himanshu-x8s6b 2 หลายเดือนก่อน +2

    thank yu mam ji so beautiful lecture for us 🥰🥰😍😍😍

  • @kashishjain8133
    @kashishjain8133 2 ปีที่แล้ว +3

    thankyou so much just because of you i am able to learn and understand this topic so easily.
    ☺☺thankyou mam for your this initiative.

  • @loganathanloga4287
    @loganathanloga4287 3 ปีที่แล้ว +7

    Hi Mam, Thank You for all your lectures it is very help full for me 🤗

  • @kondapuramsanjaykumar9358
    @kondapuramsanjaykumar9358 3 ปีที่แล้ว +1

    Superoo superobhya superosyaha....👏👌
    And that word "fine" in between the explanation is so cute. When I'm explaing the vdo's of u to my friends, unfortunately, I'm also pronouncing "fine" and "Ok" as like u..!!

  • @onurolce
    @onurolce 3 ปีที่แล้ว +5

    what a successful and lovely trainer you are ! thank you for video:)

    • @plcsd
      @plcsd 3 ปีที่แล้ว +1

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

  • @sahunkhan17
    @sahunkhan17 29 วันที่ผ่านมา

    Very helpful in my exam and also knowledge of study meterial. Thank you ma'am for your valuable knowledge share with us.

  • @jyotirani8232
    @jyotirani8232 3 ปีที่แล้ว +4

    Good afternoon mam. 🙏

  • @swatisinha5037
    @swatisinha5037 3 ปีที่แล้ว +2

    you are a stunner mam, your videos are literally the best.

  • @mahwishkundi3373
    @mahwishkundi3373 ปีที่แล้ว +1

    Thanks Jeny,, You are a real inspiration

  • @saritharani4636
    @saritharani4636 2 ปีที่แล้ว +2

    Super explanation mam you are best 👍 stunning explanation 💕

  • @meettewar9355
    @meettewar9355 3 ปีที่แล้ว +1

    Nice to see you Mam again. Thanks for come back 🙏

  • @Mehedihasan-rahat
    @Mehedihasan-rahat 2 หลายเดือนก่อน

    Thanks for Ur outstanding speech about reference type❤

  • @YashPatel-wi5dr
    @YashPatel-wi5dr ปีที่แล้ว +1

    You teach depth concept and teaching way is very well?

  • @giribabupalavalasa4751
    @giribabupalavalasa4751 2 ปีที่แล้ว +2

    Declare an char array in main function and pass it to a function and initialize the array inside an function. Print the string in main function

  • @techhackashish906
    @techhackashish906 3 ปีที่แล้ว +12

    In reality c is being used very rarely in organization , Java is being used widely
    Those who don't like coding can choose automation testing (20% coding only )

    • @plcsd
      @plcsd 3 ปีที่แล้ว

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

    • @educationandmore
      @educationandmore 2 ปีที่แล้ว +3

      You are VERY wrong when you say C is used rarely in organization. MANY of the top BIG organizations use C. Do research and you will see C is one of the most used languages especially for backend programming since it is so fast.

  • @RamKumar-fs9sd
    @RamKumar-fs9sd 2 ปีที่แล้ว +2

    Hi. If we are passing address by call by reference method, then why we are not entering asterisk symbol in function definition. Simply int avg (int *marks[], int a)

  • @luttappi94
    @luttappi94 ปีที่แล้ว

    thank u mam 😇😇😇 ur truly an amazing teacher

  • @sejalgupta3000
    @sejalgupta3000 3 ปีที่แล้ว +3

    ma'am please can you make one video for read and display 2D array using function

  • @techzone2669
    @techzone2669 3 ปีที่แล้ว +4

    Madam I need your suggestion regarding my career
    I just have completed my 12th standard and I learn c language from a well known institute of my locality
    Which course should I start next other python or java or any other please suggest me some good course

    • @plcsd
      @plcsd 3 ปีที่แล้ว

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

  • @sapyman216
    @sapyman216 ปีที่แล้ว +1

    Hi, whenever the base address of an array is transferred as an argument to the function then during the function declaration is it not required to dereference the pointer? Otherwise how we get the value at that address? Like as u did in marks [ ]. So, is it not required to dereference the pointer in order to access the value?

  • @unknown___person
    @unknown___person 3 ปีที่แล้ว +2

    MAM, I AM FROM #BANGLADESH.Very first time i didn't understand your lecture

    • @plcsd
      @plcsd 3 ปีที่แล้ว

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

  • @Varun-yo1mb
    @Varun-yo1mb 3 ปีที่แล้ว +2

    Create telegram channel plz and post class pdf in telegram channel ..
    Hard-working u mam💯💯💯💯
    Thank you very much mam 👏👏

  • @Princetejwani9313
    @Princetejwani9313 ปีที่แล้ว +1

    Mam your voice is sweet as you are ☺️

  • @somsk56
    @somsk56 2 ปีที่แล้ว

    Thanks you Maam , You are too good 😊

  • @abhinavsinhaa849
    @abhinavsinhaa849 3 ปีที่แล้ว +1

    Y u r so beautiful.my exams r over but still i m watching u means this video lecture

  • @abinashburman6389
    @abinashburman6389 2 ปีที่แล้ว +1

    Hello mam, here for array in definition part, when we r getting address of the 0th index of the variable, we didn't add * in definition function, but in case of string we added * in definition function, why? String is also an array, so why it has different rule? If u answer then it will be very helpful for me, I'm confused with it.

  • @ashwinkansagara6182
    @ashwinkansagara6182 3 ปีที่แล้ว

    Thanks mam your vidio is very helpful 👍👍

    • @plcsd
      @plcsd 3 ปีที่แล้ว

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

  • @abhaykumar3249
    @abhaykumar3249 11 หลายเดือนก่อน

    Mam can you explain this topic as a user defined function so that I can understand well because all topics covered by seeing your TH-cam lecture of c

  • @adityanikhate9223
    @adityanikhate9223 3 ปีที่แล้ว +1

    Ma'am please take lecture on recursion in c.
    Waiting for topic.

  • @harshitkumarverma7162
    @harshitkumarverma7162 2 ปีที่แล้ว

    Thank you mam you doing great work.

  • @ganeshjaggineni4097
    @ganeshjaggineni4097 2 ปีที่แล้ว

    NICE SUPER EXCELLENT MOTIVATED

  • @dreamerb1
    @dreamerb1 2 ปีที่แล้ว

    thank you so much mam😊😊

  • @SmartChoicesC
    @SmartChoicesC หลายเดือนก่อน

    Hi mam thanks for this
    I saw off of the video

  • @BravoTechhub
    @BravoTechhub 3 ปีที่แล้ว

    Maam will you please do it
    Write a c program using function in which there will be two arrays of different lengths and 1 element of one array will be added with every element of the other array

  • @ammarhamim5898
    @ammarhamim5898 ปีที่แล้ว +1

    update: In a 32-bit system, a pointer is typically 4 bytes, and in a 64-bit system, a pointer is usually 8 bytes.

  • @voiceofhimanshu
    @voiceofhimanshu 3 ปีที่แล้ว +1

    Maam plzz upload topic structure and union in c and file handling in c. Asap 🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @meghasinha1706
    @meghasinha1706 3 ปีที่แล้ว

    Thanks for your efforts

  • @Waseem-t9w
    @Waseem-t9w วันที่ผ่านมา

    Watching in one night before exams😂😂
    Thank u mam....❤❤

  • @mokshatyaveeramalla19
    @mokshatyaveeramalla19 2 ปีที่แล้ว +1

    Mam plz make videos on full Java 🙏

  • @vidhyadharan6347
    @vidhyadharan6347 3 ปีที่แล้ว

    Awesome teach mam 👏

  • @trendingshorts...2261
    @trendingshorts...2261 3 ปีที่แล้ว +1

    Mam please upload video related to file handling in c

  • @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 ??????

  • @boostboy9337
    @boostboy9337 2 ปีที่แล้ว

    When mam looks in the camera it actually feels like she is watching us and i got scared 🤣🤣🤣

  • @kitboklanglaloo10
    @kitboklanglaloo10 2 ปีที่แล้ว

    thanks Miss

  • @dd9484
    @dd9484 8 หลายเดือนก่อน

    cant we write int avg(int marks[10]) in place of int avg(int marks[ ], int size ) if i know that only 10 elements i need to pass?

  • @santhoshk2722
    @santhoshk2722 2 ปีที่แล้ว

    hello madam in my compiler the size of array in avg function, it giving result 8bytes. how

  • @manoharsagunthalla9215
    @manoharsagunthalla9215 2 ปีที่แล้ว

    Suppose students marks are in tabulated form in a file the how to access as a array and pass it an argument? Or in excel.

  • @gautamkushwaha3152
    @gautamkushwaha3152 3 ปีที่แล้ว

    Please make video on topic where both argument and returning value is array of string data type.l am getting a lot of errors while doing so.

  • @MadihaMirza-pz3hy
    @MadihaMirza-pz3hy ปีที่แล้ว

    mam you are so beautiful stay blesses and always be happy ..🙃

  • @peddarapuchandrasekhar8230
    @peddarapuchandrasekhar8230 2 ปีที่แล้ว +1

    Mam I can't understand the call by reference in passing array to function

  • @sayyedhamdulla
    @sayyedhamdulla 3 ปีที่แล้ว +3

    Ma'am would u take class about Array, Structure, and Union. You have already taken the class about Pointer right? Other 3 derived data types are still left. We need those topics also.. Plz ma'am .. Waiting for that.. Thank you 😊

    • @plcsd
      @plcsd 3 ปีที่แล้ว

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

  • @marimuthu_a
    @marimuthu_a 3 ปีที่แล้ว +2

    Hello madam
    Could you pls explain about file handling techniques in C lang 🙂🙂

    • @plcsd
      @plcsd 3 ปีที่แล้ว

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

  • @siddhantsingh8721
    @siddhantsingh8721 2 ปีที่แล้ว

    thank you soo much mam

  • @sasichaitanya920
    @sasichaitanya920 2 ปีที่แล้ว

    If we perform above code in a 64 bit system will size come as output???

  • @ARazk
    @ARazk 2 ปีที่แล้ว

    Thanks mam good seasion

  • @anujeetkunturkar780
    @anujeetkunturkar780 3 ปีที่แล้ว

    Skip 1:07 to 2:42

  • @ankammaraochintala2509
    @ankammaraochintala2509 3 ปีที่แล้ว

    Thank you madam

  • @SachinKumar-wx5sn
    @SachinKumar-wx5sn 3 ปีที่แล้ว

    Waiting...For your video...

  • @bellalmahtab8220
    @bellalmahtab8220 2 ปีที่แล้ว

    Why use void main here if we are returning some value

  • @CartoonChronicles22
    @CartoonChronicles22 2 ปีที่แล้ว

    thanks mam

  • @opbnl6499
    @opbnl6499 3 ปีที่แล้ว +1

    Or aapne kaise sikha ye sab ye bhi bta do please mera bhi mn bhut kr raha h sikhne ka please reply Krna

  • @aj24rat
    @aj24rat 3 ปีที่แล้ว

    Yes we goat this!

  • @opbnl6499
    @opbnl6499 3 ปีที่แล้ว +1

    Ma'am aapko c,,, c++,,,,,, pythan etc. Language aati h or english bhi achii h aap koi application bnaye ho kya

  • @chamaridesilva1668
    @chamaridesilva1668 ปีที่แล้ว

    I got 8 bytes size of array in avg function what is the reason
    #include
    int avg(int[],int);
    void main()
    {
    int average,size;
    int marks[5]= {10,15,20,30,45};
    size=sizeof(marks)/sizeof(marks[0]);
    average=avg(marks,size);
    printf("Average is %d
    ",average);
    printf("Size of array (inside main) is %d
    ",sizeof(marks));
    printf("Size is %d
    ",size);
    }
    int avg(int marks1[],int size)
    {
    int i, sum=0, average=0;
    for(i=0; i

    • @ammarhamim5898
      @ammarhamim5898 ปีที่แล้ว

      In a 32-bit system, a pointer is typically 4 bytes, and in a 64-bit system, a pointer is usually 8 bytes.

  • @AjaySingh-ng4is
    @AjaySingh-ng4is 3 ปีที่แล้ว

    Nice 👍

    • @plcsd
      @plcsd 3 ปีที่แล้ว

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

  • @empower_andhra
    @empower_andhra 3 ปีที่แล้ว

    😭😭y don't I get a teacher like you mam

    • @plcsd
      @plcsd 3 ปีที่แล้ว

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

  • @sancoder-o4z
    @sancoder-o4z 8 หลายเดือนก่อน

    my output:
    inside avg function size of array is(in bytes):8
    average=30
    inside main sizeof array is (in bytes):20
    how is this possible size of a single element is 8, but why the size of the array is 20. Please anyone explain this contradiction.

  • @chiranjeevikumarbattula8709
    @chiranjeevikumarbattula8709 3 ปีที่แล้ว +8

    Started python course

  • @pranavmohan8090
    @pranavmohan8090 3 ปีที่แล้ว

    looking cute as always.......😊❤️

  • @jayeshshinde9559
    @jayeshshinde9559 3 ปีที่แล้ว

    ma'am in one video you said that you will provide notes please provide notes

  • @Samarora06
    @Samarora06 2 ปีที่แล้ว

    python or java which one I choose for placements

  • @anisbarca5310
    @anisbarca5310 3 ปีที่แล้ว +1

    Hi,i have question what is the difference between (int main)and(void main)?

    • @kraishwary16
      @kraishwary16 3 ปีที่แล้ว +2

      Its return type of function
      Means. Void it returning nothing
      Int. It returning integer value.
      Similarly. for other data type return type

    • @plcsd
      @plcsd 3 ปีที่แล้ว

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

  • @sandeep61318
    @sandeep61318 3 ปีที่แล้ว

    Madam ,Please provide videos for c++ also

  • @kumarik9027
    @kumarik9027 3 ปีที่แล้ว

    dear madam,
    how to pass palindrome to new array...?
    can u solve this program mam? I am finding difficult in this program.
    thank u.

  • @sonamsoni7404
    @sonamsoni7404 2 ปีที่แล้ว

    Mam please make some video in c ++

  • @imsonecka
    @imsonecka 10 หลายเดือนก่อน

    I GOT IT OMG

  • @akhilmittal3283
    @akhilmittal3283 3 ปีที่แล้ว

    super mam g u r best mam
    thank u so much mam g

  • @anuraggupta5831
    @anuraggupta5831 3 ปีที่แล้ว +1

    Mam Can you teach BCA students also

    • @plcsd
      @plcsd 3 ปีที่แล้ว +1

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

    • @anuraggupta5831
      @anuraggupta5831 3 ปีที่แล้ว +2

      @@plcsd thanks sir 🙏

  • @kaushalkishor8674
    @kaushalkishor8674 3 ปีที่แล้ว

    Ma'am coding ke liye best app btaiye

  • @meenageetha3559
    @meenageetha3559 3 ปีที่แล้ว

    Mam pls teach java programming as like this c programming

    • @plcsd
      @plcsd 3 ปีที่แล้ว

      th-cam.com/video/hhIHnxkOz2s/w-d-xo.html

  • @samsuddinhayder3247
    @samsuddinhayder3247 3 ปีที่แล้ว

    Right

  • @-NAVEEN-mc7rm
    @-NAVEEN-mc7rm 3 ปีที่แล้ว

    Mam how many videos could be all

  • @zahidhasan7052
    @zahidhasan7052 2 ปีที่แล้ว

    If you write the following program:-
    ---------------------------------------------------------------
    void getArraySize(int arr[]){
    int len = (sizeof(arr)/sizeof(arr[0])
    printf("Array Length:%d
    ",len);
    }
    int main(){
    int array[] = {1,2,3,4,5};
    getArraySize(array);
    return 0;
    }
    ----------------------------------------------------------------
    You'll get this warning.
    - sizeof on array function parameter will return
    size of 'int *' instead of 'int []' [-Wsizeof-array-argument] -
    ---------------------------------------------------------------
    This is because:-
    The array decays to a pointer when passed.
    So sizeof only works to find the length of the array if you apply it to the **original array**.
    So you need to **pass length of array as separate argument to function**.

  • @EktaSharma097
    @EktaSharma097 หลายเดือนก่อน

  • @ParamitaDey-bi1mg
    @ParamitaDey-bi1mg 3 ปีที่แล้ว

    This is a very tough concept 😢

  • @Mamata171
    @Mamata171 3 ปีที่แล้ว

    inside the marks function my marks size is showing 8 bytes

  • @arunidiculla5622
    @arunidiculla5622 3 ปีที่แล้ว

    Can you teach Python Madam.

  • @rubeshrubesh5684
    @rubeshrubesh5684 3 ปีที่แล้ว

    Mam array explain in tamil meaning English pls comment mam helpful for me

  • @rayhanmahmud6579
    @rayhanmahmud6579 3 ปีที่แล้ว

    I don't know why its showing 8 byte instead of 4 or 2 byte .
    #include
    int func(int[]);
    int main()
    {
    int arr[]={1,2,3,4,5};
    printf("inside main: %d
    ",sizeof(arr));
    func(arr);
    }
    int func(int arr1[])
    {
    printf("inside func: %d
    ",sizeof(arr1));
    }

  • @SHYAM-bc8oz
    @SHYAM-bc8oz 3 ปีที่แล้ว

    mam we need notes for c

  • @twittertalks3934
    @twittertalks3934 3 ปีที่แล้ว

    favourite if you have finals tomorrow 🌚

  • @Waseem-t9w
    @Waseem-t9w วันที่ผ่านมา

    Who is watching video in this moment???

  • @ahmadcomputers2291
    @ahmadcomputers2291 3 ปีที่แล้ว

    your smile kills thousands of handsome enemy 😎

  • @TopRTelugu
    @TopRTelugu 3 ปีที่แล้ว

    Your my crush ma'am 😘

  • @chiranjeevikumarbattula8709
    @chiranjeevikumarbattula8709 3 ปีที่แล้ว

    Mam