C Program To Calculate One Number Raised To Another using Function

preview_player
Показать описание

Write a function power( a, b ), to calculate the value of a raised to b.

In today's video tutorial lets see 2 methods of calculating value of a raised to b.

1. In first method lets write the entire logic ourselves.
2. In second method lets use the built in method pow() which is present in math.h library file.

Problem Statement
So to clarify, the problem statement is: Two numbers are entered through the keyboard. Write a C program to find the value of one number raised to the power of another, using function / method.

C Programming Interview / Viva Q&A List

C Programming: Beginner To Advance To Expert
Рекомендации по теме
Комментарии
Автор

I couldn't understand function definition

taibohere
Автор

bhai tu khud pahle sure ho ja konsa method batana hai tujhe na dry working show kiya aur na kuch bs different methods dikha rha hai.

Ankit_Jarvis