Basic C interview programs
Tags: c, programming
Published: 2019-09-18 17:09:55

---
title: Basic C interview programs
published: true
description: 
tags: C, programming
---

Here is the list of frequently asked basic C interview programs.

<hr />

<h3><span style="color: #800000;">1. Write a program to find an element in array using linear search</span></h3>
Solution: <a href="https://www.code2master.com/c/linear-search-c/">Linear search in C</a>

<hr />

<h3><span style="color: #800000;">2. Write a simple program to find even odd number in C</span></h3>
Solution: <a href="https://www.code2master.com/c/even-odd-program-c/">Even odd program in C</a>

<hr />

<h3><span style="color: #800000;">3. Write a simple program to reverse a number in C</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-reverse-number/">C program to reverse a number</a>

<hr />

<h3><span style="color: #800000;">4. Write a simple C Program to Count Number of Digits in an Integer</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-count-number-digits-integer/">C program to count number of digits in C</a>

<hr />

<h3><span style="color: #800000;">5. Write a simple C Program to check if String is palindrome</span></h3>
Solution: <a href="https://www.code2master.com/c/palindrome-string-program-c/">C program to check if string is palindore</a>

<hr />

<h3><span style="color: #800000;">6. Write a simple C Program to copy a String without using strcpy function</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-copy-string-without-using-strcpy-function/">C program to copy String without strcpy</a>

<hr />

<h3><span style="color: #800000;">7. Write a simple C Program to compare two Strings without using strcmp function</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-compare-two-strings-without-using-strcmp-function/">C program to compare two String without strcmp</a>

<hr />

<h3><span style="color: #800000;">8. Write a simple C Program to reverse String without using strrev function</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-reverse-string-without-using-strrev-function/">C program to reverse String without using strrev strcmp</a>

<hr />

<h3><span style="color: #800000;">9. Write a simple C Program to find length of String without using strlen function</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-find-length-string-without-using-strlen-function/">C program to find length of String without using strlen function</a>

<hr />

<h3><span style="color: #800000;">10. Write a simple C Program to concat two strings without using strcat function</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-concat-two-strings-without-using-strcat-function/">C program to concat two strings without using strcat function</a>

<hr />

<h3><span style="color: #800000;">11. Write a simple C Program to find maximum of 3 numbers</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-find-maximum-3-numbers/">C program to find maximum of three numbers</a>

<hr />

<h3><span style="color: #800000;">12. Write a simple C Program to print odd numbers between 1 to 100</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-print-odd-numbers-1-100/">C program to print odd numbers between 1 to 100 </a>

<hr />

<h3><span style="color: #800000;">13. Write a simple C Program to reverse each letter in a word</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-reverse-letter-each-word-string/">C program to reverse each word</a>

<hr />

<h3><span style="color: #800000;">14. Write a simple C Program to reverse each letter in a word</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-reverse-letter-each-word-string/">C program to reverse each word</a>

<hr />

<h3><span style="color: #800000;">15. Write a simple C Program to convert temperature from degree to fahrenheit</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-convert-temperature-degree-centigrade-fahrenheit/">C program to convert temperature from degree to fahrenheit</a>

<hr />

<h3><span style="color: #800000;">16. Write a simple C Program to find perfect number</span></h3>
Solution: <a href="https://www.code2master.com/c/perfect-number-c/">C program to find perfect number</a>

<hr />

<h3><span style="color: #800000;">17. Write a simple C Program to find length of string with pointers</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-find-length-string-using-pointer/">C Program to find length of string with pointers</a>

<hr />

<h3><span style="color: #800000;">18. Write a simple C Program to swap two numbers without using temporary variable</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-swap-two-numbers-without-using-temporary-variable/">C program to swap two numbers without using temporary variable</a>
<hr />
<h3><span style="color: #800000;">19. Write a simple C Program to find out whether a given year is a leap year or not</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-find-whether-given-year-leap-year-not/">C program to find out whether a given year is a leap year or not</a>

<hr />
<h3><span style="color: #800000;">20. Write a simple C program to reverse an array</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-reverse-array/">C program to reverse an array</a>

<hr />
<h3><span style="color: #800000;">21. Write a C Program to Search an element in Array</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-search-element-array/">C Program to Search an element in Array</a>

<hr />
<h3><span style="color: #800000;">22. Write a C Program to delete an element from the specified location from Array</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-delete-element-specified-location-array/">C Program to Search an element in Array</a>

<hr />
<h3><span style="color: #800000;">23. Write a C program to find smallest number in an array</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-find-smallest-number-array/">C program to find smallest number in an array</a>

<hr />
<h3><span style="color: #800000;">24. Write a C program to find largest number in an array</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-find-largest-number-array/">C program to find largest number in an array</a>

<hr />
<h3><span style="color: #800000;">25. Write a C program to delete duplicate elements from an array</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-delete-duplicate-elements-array/">C program to delete duplicate elements from an array</a>

<hr />
<h3><span style="color: #800000;">25. Write a C program to delete duplicate elements from an array</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-delete-duplicate-elements-array/">C program to delete duplicate elements from an array</a><hr />

<h3><span style="color: #800000;">26. Write a c program to print even numbers between 1 to 100</span></h3>
Solution: <a href="https://www.code2master.com/c/c-program-print-even-numbers-1-100/">c program to print even numbers between 1 to 100</a>


You may also like <a href="https://www.code2master.com/python/python-tutorial-beginners/">Python tutorial for beginners</a>

Originally published on code2master with title <a href="https://www.code2master.com/c/basic-c-interview-programs/">C interview programs</a>.