Category Archives: C Language

Multiplication Table Function C Programming

“Multiplication Table Function C Programming” is a C program related to the use of Functions in C Programming. The following figure will show the output and source code of Multiplication table function. The source code of C program to print table by using a function is as follows: /* Write a C program to use… Read More: Multiplication Table Function C Programming »

Loading

Function Cube of Number in C Programming

“Function Cube of Number in C Programming” is a C programming language program. It uses a user defined function that receives a parameter number n. It then computes and returns cube of that number. The following image shows the source code of the programmer defined function cube() and output of this C program. The source… Read More: Function Cube of Number in C Programming »

Loading

Function square of number in C programming

“Function square of number in C programming” is a C language program to use a function to calculate square of given number. The square( ) will return square of the given number. /* Write a C program to use a function square() that receives one number and returns its square */ int square(int a); /*function… Read More: Function square of number in C programming »

Loading

C Program using add Function in C Programming

“C Program using add function” is a C language program to learn the use of function in C language. A function called addition( ) is used to calculate addition of two numbers. The main function will send two numbers to the addition function. The addition() function will add them and prints result. The user defined… Read More: C Program using add Function in C Programming »

Loading

Alphabet Continuous Pattern in C Programming

“Alphabet Continuous Pattern in C Programming” represents a C language program to show the above mentioned Continuous ABC Alphabets shape or pattern as shown in the following figure: The source code of this C language program to show continuous alphabet pattern is in the following code block.  This code is in C programming language.  It… Read More: Alphabet Continuous Pattern in C Programming »

Loading

Alphabet Triangle Pattern in C Programming

“Print Alphabet ABCDE Pattern in C Programming” is a basic C program to print triangle of ABCDE alphabets as shown in the following figure: The source code of alphabet triangle in C programming is as follows: /* Write a C program to print alphabet pattern triangle as shown below A AB ABC ABCD ABCDE */… Read More: Alphabet Triangle Pattern in C Programming »

Loading

Print Number Pattern Square Shape 5 to 1

“Print Number Pattern Square Shape 5 to 1” is a C language program to show the number square pattern 5 to 1 as shown in the following figure. The source code of the c program to display number pattern in square shape 5 to 1 is presented in the following block: /* Write a program… Read More: Print Number Pattern Square Shape 5 to 1 »

Loading