C Function that Implements Call-By-Value

In this lesson, you will learn about C function that implements call-by-value parameters. In C programming language, functions are very important because with functions there is no C program. The main () in C program is a function and it calls other user-defined functions. Some functions need parameters to do the necessary tasks. So the … Read more

C Program For A Simple Calculator

This example program accepts two input numbers and performs an arithmetic operation such as addition, subtraction, division, multiplication and mod operation on them. The output is printed to the console. Learn following C programming concepts before trying this example on your computer. C Assignment Operators C Variables and Constants C Flow Control Structures C Functions … Read more

Evaluating Postfix Expression Using Stack

Previous Next The postfix expression is a notation for expression used in computers where operator comes after the operands in the expression. It is also known as reverse polish notation. In this example, you will learn evaluating postfix expression using stack. Suppose A and B are two operand and '+' is the operator. We humans … Read more

C Program To Check A Palindrome String

This C program checks a given string whether it is a palindrome or not. The string is read from left to right and right to left and each character is matched. If all the characters in the input string match correctly, then it is a palindrome string, otherwise not. This program is written using Dev … Read more

C Program To Check An Armstrong Number

This C program checks an input number whether it is an Armstrong number on not and prints the results. An Armstrong number is special number sum of the nth power of its every digit is equal to the original number. The n is the number of digits in the input number. This concept is explained … Read more

C Program to Check Eligibility of Students for Engineering or Medical Admission

This program is a mini-project in C programming written using Dev C++ version 5, you can use any standard C compiler to compile the following program. To help you understand this program, we have the following sections – problem definition, flowchart, program source code, and verified output. In this C program, we want to compute … Read more

C Program To Convert Infix Expression To Prefix Expression

Previous Next In this article, we discuss about writing a C program to convert infix expression to prefix expression. The infix expression is of form operand operator operand and it is converted to operator operand operand form. Consider the following example. Problem Definition The user enters an infix expression and the C program converts the … Read more

C Program To Find Reminder And Quotient

This program uses a division operator on two input numbers. The output is a quotient and a remainder is printed to the console. We compiled the program using Turbo C++ 3.0 running in a DOS Box 0.74  on a Windows 7  64-bit system. You may try the program using a different standard C compiler, but … Read more

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.