Tag Archives: C Program Average of Array With Pointer

Average of Array With Pointer

Average of Array With Pointer – Write a C Program to calculate average of array elements using pointers. #include <stdio.h> int main() { int a[50], i,n, sum=0; float average; int *ptr; printf(“\n Write a C Program To:”); printf(“\n Input elements and Find Average in”); printf(“\n Array Using Pointers in C:”); printf(“\n ————————————\n”); printf(” Enter theā€¦ Read More »

Loading