Category Archives: C

How to find Factorial of any number in C language

In this tutorial, we are going to learn How to find Factorial of any number in the C language What is the factorial of a number? In mathematics, We can say that the factorial of a positive integer n, denoted by n!, is the product of all positive integers less than or equal to n For example, 4! = 4*3*2*1 = 24 6! = 6*5*4*3*2*1… Read More »

Category: C

C Program to print Hello World without the semicolon

In this tutorial, We are going to learn about C Program to print “Hello World” without the semicolon(;) We can print “Hello World” or anything else in the C program without using a semicolon. There are different ways to do  the same: 1 Using if 2 Using switch 3 Using while loop 1: Using if… Read More »

Category: C

Swapping of two numbers in C Language

In this tutorial, we are going to learn about Swapping of two numbers in C Language For Examples, Input : x = 30, y = 44 Output : x = 44, y = 30 Input: x = 500,y = 250 Output: x =250,y = 500 Input : x = 2000, y = 1000 Output : x… Read More »

Category: C