Featured
-
No Featured Found!
Tags
To Print Hello without using semi-colon
Printing Hello Without using semicolon:
As we know to print something in C we use printf and ends it with semi-colon but we can print something without using semicolon.
With Semicolon we print something like this:
#include<stdio.h>...
Arithmetic operations by using only one variable
Hey Guys,
Today we are going to perform Arithmetic operations by using only one variable.
It means, if we have define a single variable for loops or anything else then it must be used for all the operation.
So, here, your only friend is ...
Program to check whether a number is Armstrong number
Program to check whether a number is Armstrong Number or not:
Armstrong number is a positive number whose sum of cubes of all individual digits is equal to the number itself. Like 371(3x3x3+7x7x7+1x1x1=371) is an armstrong number as the sum of...
Program to find power of a number
Program to find power of a number:
In this program we are finding power of any number which will entered by the user and user will also enter a power. There is a function power which will return power of the number after calculating and Power...
Program to find largest of N numbers in an array
Finding largest number in an array:
To find largest number in an array first user will enter the length for the array and then the user will input the elements for the array. There is a max variable taken in the program which is assigned 0th ...
Program to sort elements in Ascending Order using Selection Sort in C language
Program to sort elements in Ascending Order using Selection Sort in C language
Selection Sorting
Definition:- It compare the array of number with the rest of number in the array list & takes the selected to the top of the list & agai...
Program to sort elements in Ascending Order using Insertion Sort in C language
Program to sort elements in Ascending Order using Insertion Sort in C language
Insertion Sort
Definition:- It is a sorting which sort one number at a time & insert to its proper location in the array list until all the numbers are sorte...
Program for Bubble Sort elements in Ascending Order
Program for Bubble Sort elements in Ascending Order
Definition:- In Bubble sort each element compares with the other elements until finds its correct order place. This is repeated until all elements are in the order.
//Header Files...
Pointers in C
C has an interesting and powerful feature of pointers. It differs it from other languages. As the name suggests it points to something. Whenever we declare some data type it holds some memory. If we define a variable ptr then, &ptr is the add...