The following list includes important C Programming Practice Questions.
Click on the link to find code for following C Programming Practice Questions
- Write code that allows a user to enter a number n and then displays it in words.
- Displays all ASCII character with their numeric values.
- Find power of a number using for loop.
- Given a number n, compute and display all factors of n.
- Write a program in C that allows user to enter a number n and displays the factorials of all numbers from 1 to n.
- Find HCF (GCD) of two numbers.
- Write a program in C that allows user to enter two numbers and computes Least Common Multiple (LCM) of these numbers.
- A prime number is the one that is divisible by 1 or itself. Write a program to determine whether a number is prime or not.
- Find prime numbers in a given range. Let users to enter the value of range.
- Write a C program to that allows user to enter a number n and then computes the sum of all prime numbers between 1 to n.
- Take a number n from user as input and display all of its prime factors.
- Take a number n as input from the user and determine whether n is an Armstrong number or not.
- Write a C program that determines Armstrong numbers from the specified range.
- Take a number n as input from the user and find out whether it is a Perfect number or not.
- Extend the above program to display perfect numbers in the given range.
- Take a number n from the user as input and determine whether it is a Strong number or not.
- Extend the above program to display all Strong numbers in the given range.
- Write a C program to print Fibonacci series up to given number of terms as well as upto a specified value of the last term. Define different functions for these two tasks.
- Create and display the elements of an array using pointers.
- C program to sort an array using Bubble Sort.
- Demonstrate the use of function pointers with an example.
- Write a C program to sort an array using Selection Sort.
- C program to sort an array using Insertion Sort.
- Linear Search and Binary Search in C language.
- Recursive function to find factorial of a number.
- Implement merge sort in C.
- Write a program to implement Quick sort in C language.
- Implement Heap sort in C.
- Write a C program to implement Binary Search Tree.
- A C Program for Recursive Binary Search.
- Implement Stack in C language.
- Write a C program for Queue implementation.
- Implement linked list in C.
Further Reading
50+ C Programming Interview Questions and Answers
C Program to Find Factorial of a Number
- AI
- Android
- Angular
- ASP.NET
- Augmented Reality
- AWS
- Bioinformatics
- Biometrics
- Blockchain
- Bootstrap
- C
- C#
- C++
- Cloud Computing
- Competitions
- Courses
- CSS
- Cyber Security
- Data Science
- Data Structures and Algorithms
- Data Visualization
- Datafication
- Deep Learning
- DevOps
- Digital Forensic
- Digital Trust
- Digital Twins
- Django
- Docker
- Dot Net Framework
- Drones
- Elasticsearch
- ES6
- Extended Reality
- Flutter and Dart
- Full Stack Development
- Git
- Go
- HTML
- Image Processing
- IoT
- IT
- Java
- JavaScript
- Kotlin
- Latex
- Machine Learning
- MEAN Stack
- MERN Stack
- Microservices
- MongoDB
- NodeJS
- PHP
- Power Bi
- Projects
- Python
- Quantum Computing
- React
- Robotics
- Rust
- Scratch 3.0
- Shell Script
- Smart City
- Software
- Solidity
- SQL
- SQLite
- Tecgnology
- Tkinter
- TypeScript
- VB.NET
- Virtual Reality
- Web Designing
- WebAssembly
- XML