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
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; }
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.
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..
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
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🙏
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
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;
}
Thank You Sir So So Much
helpful my dear, thank you
Very good bro🙏🙏🙏
TQ
Very useful video 👌
Nice
Useful video 🙂💖
Thank you
Sounds like Khan sir's class
Sir make QandA Video!
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
Please tell how to display student record in descending order of percentage
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.
Bhai me apke sath personally bat karna chata hu
Which software are you using for programming c.
Dev c++
Magar 2 number struct karna ho toh kaise karein?
Nice explanation
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
i understand
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..
Mine is after 1hour
Bro you will use & in scanf for getting string value 😁
Is this student rank program
Please start speaking in English
Sir mera 5 subject put nhi ho rha h random value already stored h kya kre bar bar yahi aa rha h
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 👇
ua-cam.com/video/LlD30_D-jc4/v-deo.html
Sir plz linux or unix command pa video bna da plz
Yah kaun sa software hai..
Please make a video for download and install this software
Dev c++ Download 👇👇👇
ua-cam.com/video/jbSEFYl7flc/v-deo.html
Sir total aur avrage sahi nhi aa rha mere me
Bro explain in telugu
Wrong
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
ua-cam.com/video/QfuzVtQjvtg/v-deo.html
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
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