Evaluate A Polynomial C Program

C Program To Evaluate A Polynomial

Learn How To Write a Code To Evaluate A Polynomial in C Programming Language. For Evaluation of a Polynomial, we first fetch the value of Co – Efficient and store them in the Array. This program is intimidating but is actually very simple if you try a little harder to understand it.

What is Polynomial?

A Polynomial is an expression or a mathematical equation which contains variables and constants (also known as Co – Efficients). The different terms in the expression includes the operations of Addition, Non – Negative Integer Exponent, Subtraction and Multiplication. A polynomial is nothing but an algebraic expression. It is also famously known as arithmetic expression.


Must Read: C Program To Evaluate a Postfix Expression


Method 1: C Program To Evaluate a Polynomial using Function

Method 2: C Program To Evaluate a Polynomial without Function


Method 3: C Program To Evaluate a Polynomial using Horner’s Method


C Program To Evaluate A Polynomial with and without Function and Horner's Method

If you have any compilation error or doubts in this C Program For Evaluation of Polynomial, let us know about it in the Comment Section below.

5 thoughts on “Evaluate A Polynomial C Program

  1. Rajesh Chawla

    The Horner’s method for evaluating a polynomial seems to take Hard Coded values. Will the user defined values work in Horner method like they work in the above two C Programs?

    1. Tushar Soni Post author

      Yes! It will definitely work. The Horner’s method to evaluate a polynomial here takes a hard coded array. You can take input for the array from the User. I think it should work.

  2. Sachin Shinde

    So many methods to solve and evaluate a polynomial expression in c programming helped to clear how and when to use functions. Also it helped to analyze how to convert functions into main programs.

    1. Tushar Soni Post author

      I am glad that you liked it. The main reason behind posting 2 different ways of writing how to calculate and evaluate a polynomial in c is to make the programmers understand the minute difference between for and while loops as well as functional approach.

  3. Mahesh Asalkar

    This C Program to evaluate an arithmetic expression is just to good. Thanks.


Let's Discuss