In this program , base address of the array is stored inside the pointer variable and using pointer the sum of array element is computed.
Program : A program to evaluate the power series [crayon-60cf95bc7423e796292154/] It uses if......else to test the accuracy. The power series contains the recurrence relationship of the type [crayon-60cf95bc74245926778236/] If Tn-1 (usually known as previous term) is known, then Tn (known as present term) can be easily found by multiplying the previous term by x/n. Then [crayon-60cf95bc74249666073561/] C Program for Exponent Series : [crayon-60cf95bc7424b966958431/] Output : [crayon-60cf95bc7424e161719373/]
Problem Statement : Write a program to read the values of x, y and z and print the results of the following expressions in one line. (x+y+z) / (x-y-z) (x+y+z) / 3 (x+y) * (x-y) * (y-z) [crayon-60cf95bc74614414949456/] Output: [crayon-60cf95bc7461b838699536/]
An electric power distribution company charges its domestic consumers as follows [crayon-60cf95bc7498e977878351/] Write a C program that reads the customer number and power consumed and prints the amount to be paid by the customer. [crayon-60cf95bc74996423190747/] Output : [crayon-60cf95bc74999510826144/]
C Program to calculate sum of 5 subjects and find percentage [crayon-60cf95bc756e7938835841/] Output : [crayon-60cf95bc756ee509257948/]
Program to convert temperature from degree centigrade to Fahrenheit [crayon-60cf95bc75ab3016612572/] Output : [crayon-60cf95bc75aba212373210/]
C Program to find area and circumference of circle [crayon-60cf95bc7616d301354759/] Output : [crayon-60cf95bc76175099820386/] Explanation of Program : In this program we have to calculate the area and circumference of the circle. We have following 2 formulas for finding circumference and area of circle. [crayon-60cf95bc76178719473047/] and [crayon-60cf95bc7617b610765338/] In the above program we have declared the floating point variable PI whose value is defaulted to 3.14.We are accepting the radius from user. [crayon-60cf95bc7617e099387731/] Download C Program : [box style="download"]Download Area Of Circle Program | Right Click and Save As[/box]