Roundup of all Interview programs in Interview Mantra.
- Write a program to find factorial of the given number.
- Write a program to illustrate pass by value.
- Write a program to illustrate pass by reference.
- Write a program to check whether the given number is even or odd.
- Write a program to swap two numbers using a temporary variable.
- Write a program to swap two numbers without using a temporary variable.
- Write a program to swap two numbers using bitwise operators.
- Write a program to find the greatest of three numbers.
- Write a program to find the greatest among ten numbers.
- Write a program to check whether the given number is a prime.
- Write a program to check whether the given number is a palindromic number.
- Write a program to check whether the given string is a palindrome.
- Write a program to generate the fibonacci series
- Write a program in C to print “Hello World” without using semicolon anywhere in the code.
- Write a program in C to print a semicolon without using a semicolon anywhere in the code.
- Write a program to compare two strings without using strcmp() function.
- Write a program to concatenate two strings without using strcat() function.
- Write a program in C to delete a specific line from a text file.
- Write a program in C to replace a specified line in a text file.
- Write a program in C to find the number of lines in a text file.