C++ Program to Print Floyd’s Triangle

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


In this program, we are going to share how to print Floyd’s triangle using c++ programming language. If you are a beginner and want to start learning the c++ programming, then keep your close attention …

C++ Program to Find Perfect Number

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


In this program, we are going to share how to find a perfect number using C++ programming language. If you are a beginner and want to start learning the c++ programming, then keep your close …

Execute C Program Without main() Function

Posted by Webmentor | Updated on | 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() …

Prime Number Program in C#

Posted by Webmentor | Updated on | 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 …

Armstrong Number Program in C#

Posted by Webmentor | Updated on | 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 …

C Program to Convert a Number to a String

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


If you want to convert a number into a string, then you can use the sprintf() function in c programming language. We assume you have a basic knowledge of c programming language. C program to …

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, …

C Program to Display Hostname And IP Address

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


In this program, we will share how to get the Hostname and IP address of a local machine. In this program, I am using these predefined functions: 1) gethostname(): Get the hostname of a local …

C++ Program to Get The List of Files From Given Directory

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


Today, I am going to write a c++ program which will print the list of files from the given directory. I have used the opendir() function to open the given directory and readdir() function 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 …