C Program to Convert Decimal to Octal Number

Posted by Webmentor | Updated on | in C Programming Tutorial.


In the series of Number System Conversion, today I am going to share another c program which will convert the decimal number to octal number using c programming language with an example with the output. …

Sizeof Operator in C Programming Language

Posted by Webmentor | Updated on | in C Programming Tutorial.


sizeof() function is used to get the memory allocated size in C programming language. See the below example with the output. Sizeof Operator in C Below example will explain the data types such as int, …

Calculate The Sum of Natural Numbers in C++

Posted by Webmentor | Updated on | in C++ Tutorial.


In this tutorial, we will share c++ program to calculate the sum of natural numbers. Before executing this program you should have basic knowledge of c++ programming language and for loop concept. C++ Program to …

C Program to Accept Paragraph as Input and Display Output

Posted by Webmentor | Updated on | in C Programming Tutorial.


This c program will accept a paragraph of sentences as input on the execution time and print the output by using the scanf() function in C.. You can only enter the 150 characters of a …

C Program to Copy an Array to Another Array

Posted by Webmentor | Updated on | in C Programming Tutorial.


This c program will copy all the elements from an array to Another array with the help of for loop. Copy the below program and execute it with help of the c compiler. We assume …

How to Print an Array in C Programming Language

Posted by Webmentor | Updated on | in C Programming Tutorial.


This program will read an array and print that array as output. In this program, we have used the for loop to print all elements of an array. When you execute this program, It will …

C Program to Generate Random Number

Posted by Webmentor | Updated on | in C Programming Tutorial.


This c program will generate the random numbers using rand() function. This is a very simple program. In this program, we have used for loop to generate multiple random numbers. As an example we print …

C Program to Find the Largest Element From an Array

Posted by Webmentor | Updated on | in C Programming Tutorial.


This is a c program to find the largest element from an array. We have used the for loop and if… statement to achieve the program goal. In this program, firstly the user will enter …

How to Find the Area of a Square Using C

Posted by Webmentor | Updated on | in C Programming Tutorial.


This program will calculate the area of a square using c programming language. A Square has four equal rectangles and four right angles. You can calculate the area of a Square if you know the …

C Program to Delete an Element From an Array

Posted by Webmentor | Updated on | in C Programming Tutorial.


Below program will delete an element from an array using c programming language. Copy the below code and execute it with the help of turbo C. I have compiled & executed the below program. Please …