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-65121c3510018877562485/] It uses if......else to test the accuracy. The power series contains the recurrence relationship of the type [crayon-65121c351001f899070408/] 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-65121c3510022586323861/] C Program for Exponent Series : [crayon-65121c3510025771594888/] Output : [crayon-65121c3510029785029177/]
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-65121c3510356269464723/] Output: [crayon-65121c351038f567803664/]
An electric power distribution company charges its domestic consumers as follows [crayon-65121c351066d190167381/] Write a C program that reads the customer number and power consumed and prints the amount to be paid by the customer. [crayon-65121c3510674844127000/] Output : [crayon-65121c3510678542080511/]
C Program to calculate sum of 5 subjects and find percentage [crayon-65121c35113c2116175270/] Output : [crayon-65121c35113c9056773690/]
Program to convert temperature from degree centigrade to Fahrenheit [crayon-65121c35118a0766535287/] Output : [crayon-65121c35118a6493922164/]
C Program to find area and circumference of circle [crayon-65121c351201c116992024/] Output : [crayon-65121c3512022604511908/] 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-65121c3512026019244363/] and [crayon-65121c3512029015287484/] 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-65121c351202c793817084/] Download C Program : [box style="download"]Download Area Of Circle Program | Right Click and Save As[/box]