c program to find maximum and minimum element of array | Learn coding

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Sir mujhe kisi se programme samjh me nahi aaya but aapne utna achha se bataye mujhe easily samjh me aa gaya, aap dry run karke bhi samjha dete hain phir sab samjh me aa jata hain

rohittech
Автор

Sir your understanding method is very nice, mind blowing, fantastic, supper

kumarsubrat
Автор

Thanku sir, you are the best teacher whom i found on YouTube

maj
Автор

sir your teaching method is well..and dry run helps a lot !! Thank you sir for provide solution and dry as well.💯

AACHALTHAWARE-hj
Автор

#include<stdio.h>
void main()
{
int arr[20], i, n, min, max;
printf("How many number of elements are there in array\n");

scanf("%d", &n);
for (i=0;i<n;i++)
{
printf("Enter elements of array\n");
scanf("%d", &arr[i]);
}
Min=arr[0];
max=arr[0];
for (i=0;i<n;i++)
{
if (min>arr[i])
Min-arr[i];
if (max<arr[i])
max=arr[i];
}
printf("Smallest element =%d and largest element =%d", min, max);
}



Sir because of you i have score A+ in c thank you sir love from Nepal🇳🇵❤💖

xnsglitch
Автор

Your learning method is amazing
I also learn a lot form your vedios
But here is some thing missing in defining the ARRAY SIZE you can use an variable to define the array size during RUN TIME just put any variable in this [ ]. for example a[size],
Thanks brother😇

itsturkbey
Автор

Sir you are genius ❤
College itana concept clear nhi huwa wo apke video dekhake ho raha hai
Me interview ke liye apke sab video ka study karke jata hu

SudyaCreator
Автор

thank you sir aapka padhaya hua har ek program hume ache se samjh aata hai, aap bahut badhiya padhate hai sir 😄

kumarhoney
Автор

Your understanding method is very nice sir 🙏

Tricks__Aspirants
Автор

Sir I pray to god that your channel grow more ❤️

tusharghodke
Автор

bro you deserve 13.00 million followers ....

almankhan
Автор

Very nice explanation.. Please make a video sum of maximum Subarray

baadshahkiller
Автор

sir u are great..concept totally clear now, but how can we print both max and min at the same time

ankan
Автор

Sir pls make video on c program to print number of people in a crowd, postfix to infix expression, prefix to infix expression, c program to find number of pages in a book and to print it.

kumarsamyak
Автор

Woh very good explanation sir supper👍👍👍

sscode
Автор

This is the best method to find maximum and minimum number compair than if-else and ternary operator

amitkumarmondal
Автор

Find the largest value using array
.
find the largest value among three numbe using array . Agar yeh program exam mey puchha gaya toh kya hum iss program ko likh sakte hai dono question ek hii hai naa

Rohit-mtoh