Execute C Program Without main() Function

By: Editorial Staff | Last Updated: | In: C Programming Tutorial


This is very a simple & easy program, in which I am going to share how to execute C program without main() function. If you want to execute any c program without using the Main() function, then you can use the #define start main. Execute C Program Without main() Function Copy the below C program …

Palindrome Number Program in C#

By: Editorial Staff | Last Updated: | In: C Sharp Tutorial


This is a simple C# program to check whether entered number is Palindrome number or not. If you are a c# beginner or want to start learning the c# programming language, then this program will help you to understand the basics of c# programming. In this program, I will explain how to write a c# …

Prime Number Program in C#

By: Editorial Staff | Last Updated: | In: C Sharp Tutorial


This is a simple C# program to check whether entered number is a prime number or not. If you are a c# beginner or want to start learning the c# programming language, then this program will help you to understand the basics of c# programming. In this program, I will explain how to write a …

Armstrong Number Program in C#

By: Editorial Staff | Last Updated: | In: C Sharp Tutorial


This is a simple C# program to check whether entered number is Armstrong number or not. If you are a c# beginner or want to start learning the c# programming language, then this program will help you to understand the basics of c# programming. In this program, I will explain how to write a C# …

C Program to Convert Decimal to Octal Number

By: Prem Tiwari | Last Updated: | 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. C Program to convert decimal to octal number Copy the below c program and execute it with the help c …

Sizeof Operator in C Programming Language

By: Prem Tiwari | Last Updated: | 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, float, char… etc and it will return the memory allocated size of the data types. Copy the below code and …

Calculate The Sum of Natural Numbers in C++

By: Prem Tiwari | Last Updated: | 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 Calculate Sum of Natural Numbers Copy below c++ program and execute it with the help of c++ compiler.

Program …

C Program to Accept Paragraph as Input and Display Output

By: Prem Tiwari | Last Updated: | 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 paragraph while executing the program because I have set the limit of 150 characters only. If you want to change …

C Program to Copy an Array to Another Array

By: Prem Tiwari | Last Updated: | 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 you have basic knowledge of c programming language, Array in c programming, For loop in c.

Enter the number …

How to Print an Array in C Programming Language

By: Prem Tiwari | Last Updated: | 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 ask to enter the number of array elements and then take elements as input and store in an array variable. …