Raise Number To Power C Program

By | September 19, 2015

C Program To Raise Number To Power

Learn How To Raise Number To Power in C Programming Language. It is important that we should know How A For Loop Works before getting further with this C Program Code Tutorial.

Example

Base Number = 3

Power = 2

Output: 32 = 9

Method 1: Raise A Number To Power in C Programming with While Loop

Also Read: C Program To Raise A Integer To Power using Recursion Method

 

Method 2: C Program To Raise Number To Positive Power using For Loop

 

Method 3: C Program To Raise an Integer To Power using Function

Output

Raise Number To Power in C Programming

In case you get any Compilation Errors with this C Program To Raise Number a Power or if you have any doubt about it, let us know about it in the Comment Section below.

One thought on “Raise Number To Power C Program

  1. Pankaj Dhende

    I liked the conversion of For Loop into While Loop. Can we raise number to integer in C using Recursion?

    Reply

Let's Discuss