<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Arpit M</title>
    <description>The latest articles on Forem by Arpit M (@java2blog).</description>
    <link>https://forem.com/java2blog</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F155481%2F1685c96d-3bb3-4d63-81ce-93a8f6e31c8f.png</url>
      <title>Forem: Arpit M</title>
      <link>https://forem.com/java2blog</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/java2blog"/>
    <language>en</language>
    <item>
      <title>Basic C interview programs</title>
      <dc:creator>Arpit M</dc:creator>
      <pubDate>Wed, 18 Sep 2019 17:09:55 +0000</pubDate>
      <link>https://forem.com/java2blog/basic-c-interview-programs-368i</link>
      <guid>https://forem.com/java2blog/basic-c-interview-programs-368i</guid>
      <description>&lt;p&gt;Here is the list of frequently asked basic C interview programs.&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;1. Write a program to find an element in array using linear search&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/linear-search-c/"&gt;Linear search in C&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;2. Write a simple program to find even odd number in C&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/even-odd-program-c/"&gt;Even odd program in C&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;3. Write a simple program to reverse a number in C&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-reverse-number/"&gt;C program to reverse a number&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;4. Write a simple C Program to Count Number of Digits in an Integer&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-count-number-digits-integer/"&gt;C program to count number of digits in C&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;5. Write a simple C Program to check if String is palindrome&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/palindrome-string-program-c/"&gt;C program to check if string is palindore&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;6. Write a simple C Program to copy a String without using strcpy function&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-copy-string-without-using-strcpy-function/"&gt;C program to copy String without strcpy&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;7. Write a simple C Program to compare two Strings without using strcmp function&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-compare-two-strings-without-using-strcmp-function/"&gt;C program to compare two String without strcmp&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;8. Write a simple C Program to reverse String without using strrev function&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-reverse-string-without-using-strrev-function/"&gt;C program to reverse String without using strrev strcmp&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;9. Write a simple C Program to find length of String without using strlen function&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-find-length-string-without-using-strlen-function/"&gt;C program to find length of String without using strlen function&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;10. Write a simple C Program to concat two strings without using strcat function&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-concat-two-strings-without-using-strcat-function/"&gt;C program to concat two strings without using strcat function&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;11. Write a simple C Program to find maximum of 3 numbers&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-find-maximum-3-numbers/"&gt;C program to find maximum of three numbers&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;12. Write a simple C Program to print odd numbers between 1 to 100&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-print-odd-numbers-1-100/"&gt;C program to print odd numbers between 1 to 100 &lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;13. Write a simple C Program to reverse each letter in a word&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-reverse-letter-each-word-string/"&gt;C program to reverse each word&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;14. Write a simple C Program to reverse each letter in a word&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-reverse-letter-each-word-string/"&gt;C program to reverse each word&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;15. Write a simple C Program to convert temperature from degree to fahrenheit&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-convert-temperature-degree-centigrade-fahrenheit/"&gt;C program to convert temperature from degree to fahrenheit&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;16. Write a simple C Program to find perfect number&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/perfect-number-c/"&gt;C program to find perfect number&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;17. Write a simple C Program to find length of string with pointers&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-find-length-string-using-pointer/"&gt;C Program to find length of string with pointers&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;18. Write a simple C Program to swap two numbers without using temporary variable&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-swap-two-numbers-without-using-temporary-variable/"&gt;C program to swap two numbers without using temporary variable&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;


&lt;h3&gt;&lt;span&gt;19. Write a simple C Program to find out whether a given year is a leap year or not&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-find-whether-given-year-leap-year-not/"&gt;C program to find out whether a given year is a leap year or not&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;20. Write a simple C program to reverse an array&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-reverse-array/"&gt;C program to reverse an array&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;21. Write a C Program to Search an element in Array&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-search-element-array/"&gt;C Program to Search an element in Array&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;22. Write a C Program to delete an element from the specified location from Array&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-delete-element-specified-location-array/"&gt;C Program to Search an element in Array&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;23. Write a C program to find smallest number in an array&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-find-smallest-number-array/"&gt;C program to find smallest number in an array&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;24. Write a C program to find largest number in an array&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-find-largest-number-array/"&gt;C program to find largest number in an array&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;25. Write a C program to delete duplicate elements from an array&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-delete-duplicate-elements-array/"&gt;C program to delete duplicate elements from an array&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;&lt;span&gt;25. Write a C program to delete duplicate elements from an array&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-delete-duplicate-elements-array/"&gt;C program to delete duplicate elements from an array&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;&lt;span&gt;26. Write a c program to print even numbers between 1 to 100&lt;/span&gt;&lt;/h3&gt;

&lt;p&gt;Solution: &lt;a href="https://www.code2master.com/c/c-program-print-even-numbers-1-100/"&gt;c program to print even numbers between 1 to 100&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You may also like &lt;a href="https://www.code2master.com/python/python-tutorial-beginners/"&gt;Python tutorial for beginners&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Originally published on code2master with title &lt;a href="https://www.code2master.com/c/basic-c-interview-programs/"&gt;C interview programs&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>c</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
