- May 8, 2021

Hey, are you worried about practicing the top 100+ codes in the C programming language? Cheers! here it’s.

Here you can find the **top 100+ top most asked and basic programs in c** that can boost your knowledge and confidence in c programming, and in the future also will help you to build logic in an efficient way. so that you can build up any type of logic fast in C.

These are the most important codes in Languages like C, C++, and Java. these codes are of prime importance for college, University exams, and also various online test and interviews of the companies offering placements within varying ranges in LPA.

As a computer science student, these all codes are very important since these all codes will help you to clear basic and important concepts in various languages.

Click Here for Top 100+ Code Practice

Click Here for Pyramid Star Pattern Question with Solution

Click Here for Top 100+ Code Practice

C Programme Title | Programming Language |
---|---|

Check the given Number is Positive or Negative. | C | C++ | Java | Python |

Check the Given Number is Even or Odd number. | C | C++ | Java | Python |

Sum of First N Natural numbers. | C | C++ | Java | Python |

Sum of N natural numbers. | C | C++ | Java | Python |

Sum of numbers in a given range | C | C++ | Java | Python |

Greatest of two numbers | C | C++ | Java | Python |

Greatest of the Three numbers | C | C++ | Java | Python |

Leap year or not | C | C++ | Java | Python |

Prime number | C | C++ | Java | Python |

Prime number within a given range | C | C++ | Java | Python |

Sum of digits of a number | C | C++ | Java | Python |

Reverse of a number | C | C++ | Java | Python |

Palindrome number | C | C++ | Java | Python |

Armstrong number | C | C++ | Java | Python |

Armstrong number in a given range | C | C++ | Java | Python |

Fibonacci Series upto nth term | C | C++ | Java | Python |

Factorial of a number | C | C++ | Java | Python |

Power of a number | C | C++ | Java | Python |

Factor of a number | C | C++ | Java | Python |

Strong number | C | C++ | Java | Python |

Perfect number | C | C++ | Java | Python |

Automorphic number | C | C++ | Java | Python |

Harshad number | C | C++ | Java | Python |

Abundant number | C | C++ | Java | Python |

Friendly Pair | C | C++ | Java | Python |

Highest Common Factor(HCF) | C | C++ | Java | Python |

Lowest Common Multiple (LCM) | C | C++ | Java | Python |

Greatest Common Divisor | C | C++ | Java | Python |

Binary to Decimal to conversion | C | C++ | Java | Python |

Binary to Octal conversion | C | C++ | Java | Python |

Decimal to Binary conversion | C | C++ | Java | Python |

Octal to Binary conversion | C | C++ | Java | Python |

Octal to Decimal conversion | C | C++ | Java | Python |

Quadrants in which a given coordinate lies | C | C++ | Java | Python |

Permutations in which n people can occupy r seats in a classroom | C | C++ | Java | Python |

Maximum number of handshakes | C | C++ | Java | Python |

Addition of two fractions | C | C++ | Java | Python |

Replace all 0’s with 1 in a given integer | C | C++ | Java | Python |

Can a number be expressed as a sum of two prime numbers? | C | C++ | Java | Python |

Count possible decoding of a given digit sequence | C | C++ | Java | Python |

Check whether a character is a vowel or consonant | C | C++ | Java | Python |

Check whether a character is an alphabet or not | C | C++ | Java | Python |

Calculate the area of a circle | C | C++ | Java | Python |

Find the ASCII value of a character | C | C++ | Java | Python |

Find the prime numbers between 1 to 100 | C | C++ | Java | Python |

Calculate the number of digits in an integer | C | C++ | Java | Python |

Convert digit/number to words | C | C++ | Java | Python |

Counting the number of days in a given month of a year | C | C++ | Java | Python |

Finding the Number of times x digit occurs in a given input | C | C++ | Java | Python |

Finding the number of integers that has exactly x divisors | C | C++ | Java | Python |

Finding Roots of a quadratic equation | C | C++ | Java | Python |

Find Smallest Element in an Array | C | C++ | Java | Python |

Find Second Smallest Element in an Array | C | C++ | Java | Python |

Find the Largest element in an array | C | C++ | Java | Python |

Find the smallest and largest element in an array | C | C++ | Java | Python |

Calculate the sum of elements in an array | C | C++ | Java | Python |

Reverse an Array | C | C++ | Java | Python |

Sort first half in ascending order and second half in descending | C | C++ | Java | Python |

Sort the elements of an array | C | C++ | Java | Python |

Sort the elements of an array | C | C++ | Java | Python |

Finding the frequency of elements in an array | C | C++ | Java | Python |

Finding the Longest Palindrome in an Array | C | C++ | Java | Python |

Finding Repeating elements in an Array | C | C++ | Java | Python |

Finding Non Repeating elements in an Array | C | C++ | Java | Python |

Removing Duplicate Elements from an array | C | C++ | Java | Python |

Finding Minimum scalar product of two vectors | C | C++ | Java | Python |

Finding Maximum scalar product of two vectors in an array | C | C++ | Java | Python |

Counting the number of even and odd elements in an array | C | C++ | Java | Python |

Find all Symmetric pairs in an array | C | C++ | Java | Python |

Find maximum product sub-array in a given array | C | C++ | Java | Python |

Finding Arrays are disjoint or not | C | C++ | Java | Python |

Determine Array is a subset of another array or not | C | C++ | Java | Python |

Determine can all numbers of an array be made equal | C | C++ | Java | Python |

Finding Minimum sum of absolute difference of given array | C | C++ | Java | Python |

Sorting elements of an array by frequency | C | C++ | Java | Python |

Sort an array according to the order defined by another array | C | C++ | Java | Python |

Replace each element of the array by its rank in the array | C | C++ | Java | Python |

Finding equilibrium index of an array | C | C++ | Java | Python |

Rotation of elements of an array- left and right | C | C++ | Java | Python |

Block swap algorithm for array rotation | C | C++ | Java | Python |

Juggling algorithm for array rotation | C | C++ | Java | Python |

Finding Circular rotation of an array by K positions | C | C++ | Java | Python |

Click Here for Pyramid Star Pattern Question with Solution

Pattern Type Problems | Solution in All Language |
---|---|

Program for Pyramid Star * Pattern | C | C++ | Java | Python |

Program for Pyramid Number 1,2,3… Pattern | C | C++ | Java | Python |

Program for Palindromic Pyramid Pattern | C | C++ | Java | Python |

Program for Diamond Star Pattern | C | C++ | Java | Python |

Program for Diamond Number Pattern | C | C++ | Java | Python |

Program for Floyd’s Triangle | C | C++ | Java | Python |

Program for Pascal triangle | C | C++ | Java | Python |

Program to Check array Similarity | C | C++ | Java | Python |

Program to Square Sum | C | C++ | Java | Python |

Program for Longest Palindrome in the array | C | C++ | Java | Python |

Share on facebook

Facebook

Share on whatsapp

WhatsApp

Share on twitter

Twitter

Share on linkedin

LinkedIn

you're currently offline