Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Apr 22, 2022

Problems in C

C is a general-purpose, imperative computer programming language. The best way we learn anything is by practicing and exercising questions. So what you are waiting for Let’s get started. Hope, these problems help you to improve your C programming coding skills.
Addition of two numbers in C EASY
The C program to Add Two Numbers guides us to sum two integer numbers and add them together, and prints the result as the output.
Write a Program to Find the Area of a Triangle EASY
We will discuss how to write a program to find the area of a triangle using various approaches. We will see their implementation in different languages along with their complexities.
Program to calculate the simple interest in C EASY
This article will discuss the logic and algorithm behind the simple interest program in c. We will also discuss the code for simple interest.
C Program to Reverse a Number EASY
Reversing a number is a common programming challenge with a variety of applications. This blog post will teach you how to reverse a number in Python using a simple and efficient algorithm.
C Programming Interview Questions MEDIUM
This article will cover the top 25 C interview questions in three sections: Beginner, medium, and hard levels with detailed explanations.
Program to convert Fahrenheit to Celsius
In this article, we will discuss the problem of converting Fahrenheit to Celsius.
Factorial Program in C EASY
In this blog, we will discuss factorial program in C using different apporaches and compare different approaches of factorial program.
Author Rashmi
0 upvotes
Sum of Digits of a Number in C EASY
This blog will discuss finding the sum of digits of a number in C, and we will also learn how to find the sum of numbers in C language.
Factorial of a Number
In this article, we will discuss the problem of calculating the factorial of a number.
C Program to Check Leap Year or Not
This article will discuss how we can check whether a particular year is a leap year or not in the c language.
Natural Numbers Program using C EASY
In this blog, we will learn how to print all the natural numbers till n.
Prime Number Program using C EASY
In this blog, we will learn to check whether a given number N is Prime or Not using C Programming Language.
C Program to Swap Two Numbers EASY
This blog focuses on the problem's solution, in which we need to swap two numbers. We learned two different methods for this. You can read about these methods in datils in the blog.
Total, average and % of 5 subjects in C
In this article, we will find the total, average, and percentage of 5 subjects using the C language.
C Program For Sum of AP Series EASY
In this article, we will learn how to find the sum of the AP series. We will also see different C programs that will give us the sum of the AP series.
Sum of Geometric Progression Series
This article will discuss the theory of the Geometric Progression Series along with the implementation of How to calculate the Sum of Geometric Progression Series in C language. The article will also discuss the time and space complexity of the solution.
Fibonacci Series Program in C EASY
Fibonacci series is a series of numbers in which the next number is the sum of the previous two numbers. Learn how to implement the Fibonacci series program in C using recursion.
Program To Print Characters In A String in C EASY
This blog introduces how to print characters in a string in C language. This blog covers how to print the strings of characters using multiple programs as examples.
Program to Count Total Duplicate Elements in an Array EASY
In this blog, we will learn about the various methods to count the number of duplicates in an array.
Program to Swap First and Last Digit Of a Number In C EASY
This article discusses swap first and last digit of a number in c with approaches and solutions. Read out the examples with algorithms and codes.
C Program to Delete Duplicate Elements from the Array.
This article will discuss the different methods to delete duplicate elements from an array in the C language.
C Program For Inserting an Element In an Array EASY
This article will discuss C Program to insert an element in an Array and see its implementation.
Delete an element from the Array
This article will discuss how to delete an element from the Array in the C language.
2's complement
In this article, we will discuss 2's complement and see sample examples to understand it better. Then we will understand the solution approach along with the algorithm and code in c++.
2's Complement Subtraction MEDIUM
The 2's complement is a system used to represent negative numbers in binary form. It is generally used in computer systems and digital arithmetic operations.
Program to convert 24 hour time to 12 hour time
This article will brief you on how to write a Program to convert 24 hour time to 12 hour time
Convert uppercase to lowercase
In this article, we will discuss the problem of converting the given string of uppercase characters into lowercase characters, discuss some sample examples and then go for solution approach along with algorithm and C++ code.
Binary to Decimal in C EASY
This article discusses the decimal and binary number system and conversion from binary to decimal.
Decimal to Binary in C
In this article, we will discuss the problem of converting decimal to binary numbers in C.
The Number Triangle
This blog explains the code to build different number triangles in C.
Strong Number In C EASY
A strong number is a positive integers where the sum of the factorials of its digits equals the original number. Read on and discover how to check if a number is strong in C!
Ceil Function in C
This blog will discuss what ceil function is and how to use it in the C programming language with examples.
Square Root in C
In this article, we extensively discuss finding the square root of a number in C
Random function in C EASY
The random function generates random numbers within specified ranges. In C, it's facilitated by two built-in functions: rand() and srand().
Magic number in C
This article will brief you on how to write a program to calculate Magic number in C.
LCM of 2 numbers in C
This blog will cover the problem of finding LCM of 2 numbers in the C language.
Digital Clock using C EASY
This blog will cover how to draw a digital clock using C.
Floyd's triangle in C
This article will discuss the theory of Floyd's triangle along with its implementation in C language.
Floyd's Triangle in C EASY
A right-angled triangle with successive natural integers is known as Floyd's triangle. It starts from 1 and consecutively selects the next greater number in sequence.
C Program to count the length of string without using any library function EASY
In this article, we will be looking at the ways of finding out the length of the string without using any library function.
C Program To Count Length Of String Using Library Function EASY
In this article, we will learn how to get the length of a string using the library function in the C programming language
C Program to check a triangle is a equilateral, isosceles or scalene EASY
This article incorporates a C Program to check if a triangle is a equilateral, isosceles or scalene.
C Program to find frequency of characters
In this article, we will discuss a C Program to find the frequency of characters.
C Program to concatenate two Strings EASY
In this article, we will discuss strings, the concatenation of two strings in the c language, and different methods of the concatenation of two strings.
C Program to copy first string into second string
This article incorporates copying of a string to another in C language.
C program to Count the Number of Vowels in a String EASY
In this article, we will discuss a C program to Count the Number of Vowels in a String
C program to delete vowels from a string EASY
In this article, we will discuss a C program to Count the Number of Vowels in a String
C program to calculate x^n using pow function EASY
In this article, we will discuss a C program to calculate x^n using the power function.
C Program to Find HCF of Two Numbers EASY
In this article, we will discuss a C program to find HCF of two numbers, and discuss three different approaches, their algorithms, and time and space complexity.
C program to multiply two numbers using plus operator EASY
This article incorporates a C program to multiply two numbers using the plus operator.
Perfect Number Program in C EASY
A perfect number is a positive integer that is equal to the sum of its proper divisors excluding itself. Lets discuss perfect number program in C in this comprehensive guide.
C Program to Count Uppercase, Lowercase, and Special Characters in the String
In this article, we will discuss a C program to count uppercase, lowercase, and special characters in the string. We will also discuss the algorithm and its time and space complexities.
C Program to arrange the string in alphabetical order EASY
This blog discusses C Program to arrange the string in alphabetical order through two different approaches.
C program to merge two sorted array in descending order
This article will tell you how you can merge two sorted in descending order in c programming language with two approaches.
C program to merge two sorted array in ascending order
This blog discusses a C program to merge two sorted array in ascending order.In this article we will discuss two approaches to merge the arrays in ascending order.
C Program to Count Frequency of Each Element in an Array
In this blog, we will see the C program to count frequency of each element in an array. We will understand it with an example and proper explanation.
C Program to Find Upper Triangular Matrix EASY
In this article, we will discuss a C program to find upper triangular matrix. We will also discuss the algorithm and its time and space complexities.
C Program to Interchange Diagonals of a Matrix
In this article, we will discuss a C program to interchange diagonals of a matrix. We will also discuss the algorithm and its time and space complexities.
C program to find sum of each row and columns of a matrix MEDIUM
This article incorporates a C program to find sum of each row and columns of a matrix
C Program to Find the Sum of Main Diagonal Elements of a Matrix
In this article, we will discuss a C program to find the sum of main diagonal elements of a matrix. We will also discuss the algorithm and its time and space complexities required for running this program.
C Program To Check Symmetric Matrix EASY
In this article, we will be looking at the program to check whether a given matrix is symmetric or not.
Tribonacci series in c MEDIUM
The tribonacci series is similar to the Fibonacci series. In the Fibonacci series, each term is a sum of two preceding numbers, whereas, in the tribonacci series, each term is a sum of three preceding numbers.
Reverse a String in C EASY
This article briefs how to reverse a string in C using different methods like using strrev() functions, without strrev() function, recursion, pointers, and using stack.
How to Convert Binary to Hexadecimal? EASY
The binary system is a number system whereas the hexadecimal system is also known as the hex system.
Binary Search in C Using Recursion EASY
In this article, we will explain Binary search in C using recursion in detail. We will also consider an iterative approach for the same.
Star Patterns Program in C EASY
This blog will discuss the various Star Patterns in C language. Also, we will try to implement the code.
Implementation of Tic Tac Toe Game EASY
In this blog, we will learn about the implementation of Tic Tac Toe game.
Number pattern programs in C EASY
This article will give beginners and intermediate programmers a collection of number pattern programs in C to practise.
Implementation of stacks using queues EASY
This article deals with the topic of - Implementation of stacks using queues and explains different approaches of all the stack operations like push, pop etc.
Bubble Sort Program in C EASY
This article will discuss the bubble sort program in c. It will also discuss the advantages and disadvantages of the bubble sort.
Sorting a Stack Using a Temporary Stack MEDIUM
In this blog, we will discuss sorting a stack using a temporary stack, its implementation in c++ along with the the time and space complexity.
C Program for Tower of Hanoi MEDIUM
This article will help you to solve a famous mathematical puzzle, the tower of Hanoi problem. We will start with the problem description and the program in C.
Find the Roots of a Quadratic Equation in Program C EASY
In this article, you will learn to find the roots of a quadratic equation in c programming. Quadratic equation are polynomial equations with degree two.
Author Nitika
0 upvotes