by Dinesh Thakur Category: C Programming (Pratical)

This is C program where user asks to calculate the exponential value of Number. Exponential is known to a variables raised to the power of something. For example, 10 to the power of 2 is 100 (10x10). For this process user declare the required variables for this after assign the value to variable. User put out the method to find out exponential value. And fetch out the result as output on display.

 
by Dinesh Thakur Category: C Programming (Pratical)

This program asks the user to find out the prime number. For this user declare the variables that use to store the value in it. User declare two int variables one of them value assign b=2 and put them on a while condition. While (a>1) then passes to control statement if (a%b==0) then a=a/b else b=b+1 and get the output on screen as result. That will show the output is prime numerical or not.

 
by Dinesh Thakur Category: C Programming (Pratical)

This is C program that asks user to find out the square root of a number. for this operation user declare a variable for fetching the output on it user also declare a math.h header file this file contains all the math functions for required operation. Then user asks a number to find out the square root put on the square root function the last move to fetches out the result as output on the screen.

 
by Dinesh Thakur Category: C Programming (Pratical)

In this program user ask to reverse the Entered number. User declares the required variables for storing the value. User asks to enter the number. User declares the loop statement for reversing the number. Here user also declares the swapping method for this convention like b=a%10, c=a/10, a=c. printing out the condition on display as result on the mark.

 
by Dinesh Thakur Category: C Programming (Pratical)

The function call pow(a, b) is used to evaluate ab, The pow function gives a domain error if the value of a is zero and b is less than or equal to zero or if a is negative and b is not an integer.

 
by Dinesh Thakur Category: C Programming (Pratical)

String copy is one of the basic operations in manipulating strings. In this operation, all the characters in the source string, including the null terminator, are copied to the target string making it an exact replica of the source string.

 
About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.



Search Content