Using structure to ask the info of any 12 student will rollno.,name,mark score in sub 1 ,sub2 ,sub3 . Also display them in proper formate along with calculation of total & percentage .( Full mark of each student is 100). Plz sir solve it exam will be coming near
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Infact you should write this avg outside loop. This program is correct but not optimized. The value of avg variable is changing in every iteration which makes no difference in our program but only decreasing its performance.
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
int main() { int n; printf("Enter the number of elements: "); scanf("%d", &n); int arr[n]; printf("Enter %d elements: ", n); for (int i = 0; i < n; i++) { scanf("%d", &arr[i]); } int sum = 0; int *ptr = &arr[0]; for (int i = 0; i < n; i++) { sum += *ptr; ptr++; } printf("Sum of elements: %d ", sum); return 0; }
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
Brother please C language me Sorting ke program bana kr samjhao Bubble sort Selction sort Insertion sort Merge sort Aapne bs algorithm tk btya pr samjh ni aaya Program bnao bro
yes ..if you write s.marks [i] there will be storing maks of i subjects..and if you write s[i].marks it is the method to assigning marks to i number of students..
Today is my exam after 3 hours
Main tomorrow
My exam is tomorrow too 😅😅
can relate to you now
Using structure to ask the info of any 12 student will rollno.,name,mark score in sub 1 ,sub2 ,sub3 . Also display them in proper formate along with calculation of total & percentage .( Full mark of each student is 100). Plz sir solve it exam will be coming near
Please create a array for 12 students inside structure. 🤗
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
th-cam.com/video/QfuzVtQjvtg/w-d-xo.html
Thank You Sir So So Much
Thank you
TQ
Sir mujhe c++ ka full course ka vdo chahiye ,plz sir upload kijiye ,mera exam aane waala h ,plz sir ,jaisa aapne c ka vdo bnaye the ,plz sir
Sir,
isvale program mai Avg ko for loop k bahar liksakte hai kya?????😀😅😅
Infact you should write this avg outside loop. This program is correct but not optimized. The value of avg variable is changing in every iteration which makes no difference in our program but only decreasing its performance.
Sir make QandA Video!
Magar 2 number struct karna ho toh kaise karein?
Very useful video 👌
Array ka use kese karte hai ?
Kyuki mujhe sabke liy variable declare karna pad rha hai.
Please reply
Aap hmara array wala video dekhiye.... topic name with learn Coding search krke😊
@@LearnCodingOfficial coding app ka use kar rha hu usme nhi ho rha hai
WHY am I using '"struct Stu" why can I not use "int main()"
To define a structure, use the struct statement. It defines a new data type, with more than one member, for your program.
Structure using array 5 names how to do it....?
Structure using arrays 👇
th-cam.com/video/LlD30_D-jc4/w-d-xo.html
Bro you will use & in scanf for getting string value 😁
Sir plz linux or unix command pa video bna da plz
Bro explain in telugu
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Thank you so much for this precious clarity🙏
write a c program to calculate sum of elements of given array using pointer
int main() {
int n;
printf("Enter the number of elements: ");
scanf("%d", &n);
int arr[n];
printf("Enter %d elements:
", n);
for (int i = 0; i < n; i++) {
scanf("%d", &arr[i]);
}
int sum = 0;
int *ptr = &arr[0];
for (int i = 0; i < n; i++) {
sum += *ptr;
ptr++;
}
printf("Sum of elements: %d
", sum);
return 0;
}
Mine is after 1hour
Please start speaking in English
Sounds like Khan sir's class
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Bhai me apke sath personally bat karna chata hu
Nice
Very good bro🙏🙏🙏
helpful my dear, thank you
Please tell how to display student record in descending order of percentage
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Brother please
C language me
Sorting ke program bana kr samjhao
Bubble sort
Selction sort
Insertion sort
Merge sort
Aapne bs algorithm tk btya pr samjh ni aaya
Program bnao bro
Sir mera 5 subject put nhi ho rha h random value already stored h kya kre bar bar yahi aa rha h
Is this student rank program
Sir total aur avrage sahi nhi aa rha mere me
Wrong
i understand
Which software are you using for programming c.
Dev c++
Does is their any difference between s.mark[i] and s[i].mark ??? - doubt
yes ..if you write s.marks [i] there will be storing maks of i subjects..and if you write s[i].marks it is the method to assigning marks to i number of students..
Useful video 🙂💖
Nice explanation
Yah kaun sa software hai..
Please make a video for download and install this software
Dev c++ Download 👇👇👇
th-cam.com/video/jbSEFYl7flc/w-d-xo.html