C-50 Arrays in C - Part 5 | Array Program 2 | C Programming Tutorials

Поділитися
Вставка
  • Опубліковано 11 лип 2021
  • In this lecture we will discuss one C program using Arrays.
    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:
    arrays in c, what is array, introduction to arrays in c, c programming, computer science, engineering, programming languages, c language, c programs on arrays, coding exercise on array,
    #cprogramming #coding #arraysinc #clanguage #jennyslectures

КОМЕНТАРІ • 182

  • @santhoshk2722
    @santhoshk2722 Рік тому +31

    As a commerce student I'm learning C language very easy with the help of this channel.

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

      I bet uve lost hope already

    • @santhoshk2722
      @santhoshk2722 Рік тому +2

      @@noneed1862 thanks for you hope
      And dont bit. Becouse Im still learning advanced C language.

    • @Shivam-yo1cm
      @Shivam-yo1cm Рік тому

      achhhhhaa...😅😅😂

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

      @@noneed1862 why

  • @zenxdraken2418
    @zenxdraken2418 Рік тому +13

    #include
    int main()
    {
    int marks[5], i, sum = 0;
    float average;
    printf("Enter a element of array
    ");
    for (i = 0; i < 5; i++)
    {
    scanf("%d", &marks[i]);
    sum = sum + marks[i];
    }
    printf("sum=%d
    ", sum);
    average = sum / 5;
    printf("
    average=%f", average);
    return 0;
    }

  • @mdtausifsiddiqui4943
    @mdtausifsiddiqui4943 3 роки тому +36

    Your teaching style is amazing ma'am. You make every topic so easy to understand! More power to you ! 💯

  • @avinashkumar2139
    @avinashkumar2139 3 роки тому +11

    Thank you so much ma'am. Your teaching style makes the concept crystal clear. Looking forward to learn from you in future also.

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

    Mam your style of teaching is mind blowing 🙏🙏

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

    Istarted learning c from you, before your video s I was memorising the things but after watching your video I started learning co ncept thanks a lot mam iam a bsc student❤️

  • @aaronabraham9892
    @aaronabraham9892 3 роки тому +5

    Ma'am, thank you so much for data structure topics.. I had the exam today, I found it so easy.... Thank you so much ma'am 😘😘😘😘😍

  • @sandeshghimire3931
    @sandeshghimire3931 3 роки тому +14

    Mam please make videos on fuction and recursion too.
    Also the method of solving series related problem.
    Love from nepal❤❤

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

    You have good problem solving skills.

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

    Super mam your teaching style is super

  • @VarunKumar-yl8nj
    @VarunKumar-yl8nj 3 роки тому +7

    Ma'am I don't know why I really love you ❤️ we people need lecturer like you.... God bless you ma'am...
    Love from Karnataka ☺️

  • @ShivaniSingh-hs9et
    @ShivaniSingh-hs9et 3 роки тому +1

    Thanks ma'am 🙏❤️

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

    I love your teaching skills ♥️

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

    Aapka smjhne ka tarika bahut acha hai🤗

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

    Jenny ma'am your teaching skills is mind blowing ❤

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

    Your voice is very beautiful and your style is also wonderful.

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

    Damn amazing i like your lectures

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

    Thank you 🙏💓

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

    Real hardworking mam

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

    in this program we can ask no of students also nd based on no of student it give u o/p
    #include
    void main()
    {
    int n,marks[n];
    float sum=0.0,avg;
    printf("enter the no of student:
    ");
    scanf("%d",&n);
    printf("enter the marks of %d student:
    ",n);
    for(int i=0;i

  • @user-jq6xc3fq6g
    @user-jq6xc3fq6g 4 місяці тому

    Mam, really thank you so much for your kind hard work

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

    Mam please complete the c course these courses are really very helpful

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

    Thanks teacher

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

    Mam i am waiting your lectures 😍

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

    Thank you so much ❤️❤️

  • @ningaiahningaiah3734
    @ningaiahningaiah3734 Рік тому +3

    Do make a video on taking two array of elements and compare them if it is equal to print that element.

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

    Transformation 💯❤️😍

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

    Jenny mam is back with a bang.

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

    Nice explamatin mam

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

    Thank you madam ..

  • @fun.z7564
    @fun.z7564 3 роки тому

    welcome back teacher.

  • @KaranSingh-cw7rs
    @KaranSingh-cw7rs 3 роки тому

    Thanks mam 🙏🙏🙏🙏🙏

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

    thank you maam

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

    Really your voice is amazing mam.............j.......b......t.........!!!!

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

    Thank you to doing videos on array in c thanks a loot

  • @izel_5
    @izel_5 9 місяців тому

    Thank you mam ❤

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

    Good knowledge

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

    Thanks alot jennyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyv mam .
    Thanks is a small word for u.😍

  • @parameshdruthik
    @parameshdruthik 10 місяців тому

    Tq mam

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

    Awsm ma'am

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

    Mam..teach us some complex prob in arrays and strings..

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

    So good mam🖤

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

    Mam, why didn't you do the arithmetic operation for 'sum' in the same 'for' loop, we don't have to print the variables individually so why can't we use the same 'for' loop for calculation part also? I have done it in my compiler and it works fine.

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

    Mam you taught open hairs because looking ossum and soo pretty ❤️❤️👍😁

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

    Mam aap bahut aacha padhati hai..... Thank you so much mam.... You are the best teacher

  • @HariRam-ik8xz
    @HariRam-ik8xz 3 роки тому +1

    Mam I'm sorry to say this....
    U r looking gorgeous 😍😍😍
    ....
    In this outfit....
    Apart from this....
    I personally like ur teaching skills .....👌👌

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

    Nice Video......

  • @AjaySingh-ng4is
    @AjaySingh-ng4is 3 роки тому

    Very nice👍

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

    Wow mam nice 👌

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

    2:05 Lecture Starts

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

    great

  • @AYUSHRAJ-kq9gi
    @AYUSHRAJ-kq9gi 2 роки тому

    mam jitni acchi dikhti hai utna hi accha padhati bhi hai. much respect. and i cant stop myself from complementing sorry

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

    Mam please do videos on algorithms...

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

    Mam please make video on how we can use function in array

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

    Thank you very much. You are a genius.

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

    lacture starts at 2:04

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

    Mam big fan you 🙏🙏

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

    Hello. I would like to ask if you have made a video about fork() before?

  • @dhanushhv1658
    @dhanushhv1658 3 роки тому +9

    Mam is there any method to use an array which holds 'n' items without declaring array size just like vector in C++. (Array Auto-size and resize feature)

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

      No.not possible.dynamic grow size only when you use dynamic memory allocation may be linked list like. Thats also different area of memory alocation. C++ vector stl using that.

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

      @@prasantadash2803 Yes

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

    Mam , i love you ❤️❤️🥰

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

    Mam Please continue c as soon as possible

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

    The sum can be calculated inside the first loop. Why make 2 loops of the same kind?

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

    Mam, plz mam
    Start the dynamic programming tutorial 🙏🙏🙏

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

    U looking very beautiful mam & ur class also beautiful !!!💟💟

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

    Thanks mam
    My Almighty God continue to bless you. Ameen
    Please ma help me for the download link of the compiler you are using, I like it

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

    Mam please complete c programming as fast you can

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

    Ur teaching is just fabulous ma'am 🤩

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

    Mam I am watching your each and every video.... Right now I m in class 9,Trying to learn many things from you... Your way of expression .. Your way of talking and ofcourse the study content also.Plz Mam tell me which C program you are using bcouz in my laptop it's screen is blue one....plz mam

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

      I m using VS code ...n I think u have turboC

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

      @@JennyslecturesCSIT Thank you so much Mam 🙏🙏

  • @-MShivakumar
    @-MShivakumar 3 роки тому

    MAM AND ALSO DO PRACTIALLY EVERY PROGRAM AFTER COMPLETION OF C MAM PLEASE START JAVA AND DBMS

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

    Mama plzz explain why array index start from zero?

  • @simon-gh1pt
    @simon-gh1pt Рік тому

    mam you are looking very pretty in this dress

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

    Is there any garbage value in float avg ?

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

    That wink in the beginning tho 😅

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

    Mam please start phyton programming tutorials mam

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

    Plz teach some tough pgms of all the topics in upcoming videos and give enough tough pgms mam

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

    Mam big fan of your teaching mam🙏

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

    Why do we use another for loop, can we write sum=sum+marks[I] in only one for loop

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

    I have doubt mam...
    In previous video, in scanning segment u have used '&' for a[i].. i.e scanf("%d",&a[i]); ... If it was internal pointer(as u said), why do we need to use of '&' here, since a[i] itself address...??
    Hope u understand my question....
    Pls reply mam.... Its confusing me bit...

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

    👀eyes ❤

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

    Mam please do python tutorial if possible

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

    Madam please provide notes.So we will remember the topics for long time.or you keep the notes in paid option to buy the notes

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

    Mam can u pls explain python also

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

    ❤️❤️❤️❤️

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

    Why are we not using int main()?

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

    take care maam 😉😉

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

    this is a program for calculating percentage.
    #include
    int main(int argc, char const *argv[])
    {
    int marks[5],i,sum=0;
    float percent;
    printf("\tpercentage calculator!
    ");
    printf("Enter marks of 5 subject of the student :
    ");
    for ( i = 0; i

  • @userJfedYj45688
    @userJfedYj45688 Місяць тому

    #include
    void main()
    {
    int a[5];
    for (int i = 0; i < 5; i++)
    {
    printf("Enter marks of student %d:", i + 1);
    scanf("%d", &a[i]);
    }
    int sum = 0, marks = 0;
    float avg;
    for (int i = 0; i < 5; i++)
    {
    marks = marks + a[i];
    }
    sum = marks;
    avg = marks / 5.0;
    printf("The sum is:%d
    ", sum);
    printf("The average of marks are:%0.2f", avg);
    }

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

    When I learn new things about programming, I forget the codes which I wrote before. Is this a sign that I don't deserve to be a programmer?
    For eg : i have written armstrong program perfectly two days ago perfectly , and next day also , but after one day i forget the basic to use in it like sum of digits and count.??
    Where i am doing mistake in learning?

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

      Practice more

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

      use spaced/exponnential repetition. after writing the program wait for 1 hour and then write code again. after that wait 5 hours and do the same. now wait 1 day, next wait 2 days, next wait 4 days, next wait 2 weeks etc.
      "We are what we repeatedly do. Excellence, then, is not an act, but a habit. " -someone

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

      Dont try to remember code at all. Concept and logic need to remember but not code. If you understand code and logic you can do code.

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

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

    I8:9

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

    If we don't assign sum=0 then what will happen????

  • @kicknotes
    @kicknotes 11 місяців тому

    cobol next pls

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

    Mam can u please explain python language also mam

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

    Structure using array I want 5 subject names without using loop....?

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

    #include
    void main()
    {
    int marks[5],sum=0,avg,i;
    for(i=0;i

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

      Wrong 😢

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

      Wrong Hai bro because tumne jo avg element liya hai wo int hai or jisse divide kar re ho bhi int hai or jab do elements same data type ka ho to answer bhi usi data type mai aayega or average hamase float mai aata hai

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

    How it gets marks value

  • @VESD.Charan
    @VESD.Charan Місяць тому

    Ma'am...What if we didn't mention the size of array at compile time and still we want the average ? How to solve this ?
    Anyone who knows can answer pls...

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

    Mam aapka institute kha par hai

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

    Ma'am u r my crush😇😇

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

    looking to see you more than your lectures don't feel bad madam i have told the truth