C Program To Draw A Line

The C programming language allows drawing graphic shapes such as lines, rectangle, circles and so on. In this article, you will learn to write a program that draws a line on the console. This program is written using turbo C++ compiler installed on a windows 7 64-bit PC. Problem Definition The program uses the C … Read more

C Program To Find Average Age

This program finds the average age of a person using an array. The array which stores a list of age is passed on to a function and the function computes the average age and returns a value. Before you begin with the example, learn basic concepts of C programming language such as arrays, function, and … Read more

C Program To Output Current Date And Time

C programming language has several predefined macros. In this article we will demonstrate the usage of two important macros. Before you begin with the example, learn C programming basics. If you know them already, skip and continue with the examples. C Printing Outputs. C Reading Input Values. C Strings. C Library String Functions. Problem Definition … Read more

C Program To Write A File

C programming allows to read or write files. In this program, a user will enter some text which will be stored in a file using file operations in C. Learn C programming concepts, before you begin with this example. C Printing Outputs. C Reading Input Values. C Pointers. C File Input-Output. Problem Definition The program … Read more

C Program To Compute Sum Of Geometric Progression

This program receive two numbers and compute the sum of geometric progression. The program implements the geometric progression and output the results when it receives the inputs. Learn C programming concepts before you start with this example program. Continue reading if you are familiar with the basics. C Program Structure. How to Install Turbo C++ … Read more

C Program To Write A String Copy Function

This program copy text from one string to another string character-by-character with the help of string copy function. C programming language does have a builtin string copy function called strcpy() located in String.h header file. In this example, you will write a program that uses a user-defined string copy function and does not use the … Read more

C Program To Compute Nth Factorial Using Recursion

The program to compute factorial calls a function recursively to compute the output.The recursion is the ability of a computing procedure to call itself repeatedly until the problem is solved. We compiled the program using Dev C++ version 5 (beta) compiler installed on Windows 7 64-bit system. You can use any 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.