# Category: C Programming

Get C Programs and Code Snippets

## C Program to Implement Taylor Series [Sum of Cos Series,Sine Series,e^x]

This is the c program to implement taylor series it finds the sum of cos series,sine series and e^x A Taylor series is a representation of a function as an infinite sum of terms...

## C Program to Sort Records

This is the C Program to sort records of the students according to their names Program can be modified to sort according to marks or any criteria

## C Program to Find Mean,Median,Mode and Range

This is the C program to find the mean,median,mode and range of an array Mean, median, and mode are three kinds of “averages”. There are many “averages” in statistics, but these are, I think,...

## C Program to Implement Selection Sort

This is the C Program to Implement Selection Sort Selection sort is a sorting algorithm, specifically an in-place comparison sort. It has O(n2) time complexity, making it inefficient on large lists, and generally performs...

## C Program to Find String Permutations

This is the C Program to find string permutations there are n! permutations for a word of size n In mathematics, the notion of permutation relates to the act of rearranging, or permuting, all...

## Queue Implementation Using Array & Linked List in C

This is the C Program to implement queue using array and linked list in c A queue is an example of a linear data structure, or more abstractly a sequential collection. Queues provide services...

## C Program to Check for Pythagorean Triplets

“Pythagorean triples” are integer solutions to the Pythagorean Theorem, a^2 + b^2 = c^2. #include #include main() { int s1,s2,hyp,ptriple=0; printf(” Side1 —- side2 —- hypotenusn”); for(s1=0;s1

## C Program to Implement Number System Conversion

This is the C program to implement number system conversion,it converts 1.Decimal to Hexadecimal 2.Hexadecimal to Decimal #include #include #include main() { int ch; printf(“Choose any option 1.Decimal to Hexadecimal 2.Hexadecimal to Decimaln”); scanf(“%d”,&ch);...

## Stack Implementation Using Linked List & Array

This is the C Program which implements Stack using a linked list In computer science, a stack is a particular kind of abstract data type or collection in which the principal (or only) operations...

## C Program to Find LCM

This is the C Program to find lcm of two numbers LCM=Product of two Numbers/GCD In arithmetic and number theory, the least common multiple (also called the lowest common multiple or smallest common multiple)...