AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: C-question / Level: Beginner
31. Write a program to find the sum of the first n odd numbers.
32. Write a program to count the number of spaces in a string.
33. Write a program to check if two strings are anagrams of each other.
34. Write a program to calculate the average of numbers in an array.
35. Write a program to print the first n prime numbers.
36. Write a program to find the factorial of a number using recursion.
37. Write a program to print a triangle pattern using stars.
38. Write a program to find the sum of two matrices.
39. Write a program to find the transpose of a matrix.
40. Write a program to check if a number is a perfect square.
41. Write a program to reverse a string without using built-in functions.
42. Write a program to find the largest digit in a number.
43. Write a program to generate all combinations of a string.
44. Write a program to count the number of digits in a number.
45. Write a program to swap two numbers using pointers.
46. Write a program to find the sum of elements in an array.
47. Write a program to implement a simple interest calculator.
48. Write a program to find the most frequent element in an array.
49. Write a program to find the number of words in a string.
50. Write a program to check if a string is a valid identifier.
51. Write a program to implement a simple stopwatch.
52. Write a program to find the common elements in two arrays.
53. Write a program to calculate the area of a circle.
54. Write a program to check if a string is a valid palindrome ignoring spaces.
55. Write a program to convert binary to decimal.
56. Write a program to find the missing number in a sequence.
57. Write a program to check if a number is a strong number.
58. Write a program to print the even numbers from 1 to n.
59. Write a program to calculate the square root of a number.
60. Write a program to generate a random number between two limits.
Previous
1
2
3
4
5
6
7
Next
More Levels
Intermediate
Advanced
Most Visited
Write a program to find the sum of the digits of a given integer.
Write a program to find the GCD (greatest common divisor) of two integers.
Write a program to find the number of words in a string.
Write a program to calculate the power of a number using loops.
Write a program that checks whether a given integer is even or odd.
Write a program to find the longest palindromic subsequence in a string.
Write a program to implement a simple e-commerce website backend.
Write a program to check if a given string is a palindrome.
Write a program to find the longest palindromic substring using dynamic programming.
Write a program to find the maximum sum of a subarray with a given size.
Write a program to implement a simple web server.
Write a program to implement a simple interest calculator.
Write a program to implement a simple file manager.
Write a program to implement a priority queue using a binary heap.
Write a program to implement a simple web server.