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-616adf2f415eb905761122/] It uses if......else to test the accuracy. The power series contains the recurrence relationship of the type [crayon-616adf2f415f1263623994/] 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-616adf2f415f5344069289/] C Program for Exponent Series : [crayon-616adf2f415f7032309784/] Output : [crayon-616adf2f415fa131702108/]
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-616adf2f419d2293911327/] Output: [crayon-616adf2f419d9757317770/]
An electric power distribution company charges its domestic consumers as follows [crayon-616adf2f41d63052109563/] Write a C program that reads the customer number and power consumed and prints the amount to be paid by the customer. [crayon-616adf2f41d6a778734044/] Output : [crayon-616adf2f41d6e220207077/]
Program : C Program to demonstrates binary expressions using floating-point arithmetic [crayon-616adf2f42107567070643/] Output : [crayon-616adf2f4210e686220100/] Floating Pointer Can perform following Operations : Addition Subtraction Division Multiplication Note : Floating Point Data Type Can't Perform Modulus Operation [crayon-616adf2f42112057113426/] Output : [crayon-616adf2f42115324827904/]
C Program : C Program to demonstrates binary expressions using integer arithmetic [crayon-616adf2f424f2851458190/] Output : [crayon-616adf2f424f9909872084/] Explanation : In order to print "%" symbol inside printf, use "%%". because % symbol has pre-defined meaning inside printf statement.
C Program to calculate sum of 5 subjects and find percentage [crayon-616adf2f4329a175252258/] Output : [crayon-616adf2f432a1312744866/]
Program to convert temperature from degree centigrade to Fahrenheit [crayon-616adf2f43602027558941/] Output : [crayon-616adf2f43609288685650/]
C Program to find area and circumference of circle [crayon-616adf2f43cfa138768133/] Output : [crayon-616adf2f43d01506577419/] 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-616adf2f43d04596164957/] and [crayon-616adf2f43d07753168499/] 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-616adf2f43d09476228643/] Download C Program : [box style="download"]Download Area Of Circle Program | Right Click and Save As[/box]