# Tag: C Program

### Lab Course – C

Lab Course – C
Lab Course Manual
Exercise 1 Set A
Apply all the three program development steps for the following examples.
1. Accept dimensions of a cylinder...

### Array in ascending order in C

Array in ascending order in C
Problem statement
Given an array, sort in ascending order.
Solution
Use two for loops, Outer for loop for preserving index and the...

### Playing with Characters – HackerRank Solutions

Playing with Characters - HackerRank Solutions
Problem statement
Objective:
This challenge will help you to learn how to take a character, a string and a sentence as...

### Prime Number program in C

Prime Number program in C
A prime number is a positive integer that is divisible only by 1 and itself. For example: 2, 3, 5, 7,...

### C program to find the squares of natural numbers using a...

C program to find the squares of natural numbers using a do while statement-
Natural numbers are all the positive integers that span from 1...

### C program to find the squares of natural numbers from 1...

C program to find the squares of natural numbers from 1 to n:
Natural numbers are all the positive integers that span from 1 to...

### C program to Check if a Number is Perfect or Not

C program to Check if a Number is Perfect
A number is Perfect, if sum of all it's divisors is equal to the original number.
Example.
...

### Queue Implementation using Array

Queue Implementation using Array
// C Program to Implement a Queue using an Array
#include <stdio.h>
#include <stdlib.h>
#define MAX 20
void insert();
void delete ();
void display();
int queue_array;
int rear =...

### Armstrong Number in C

C program to Check whether a Number is Armstrong or Not
A number is Armstrong, if sum of it's digit raised to power of total...

### C program to Find the Sum of two Matrices

C program to Find the Sum of two Matrices
Problem Statement: Given two multi-dimensional arrays, also called as matrices, find their Sum.
// C program to...