Frequently asked program definition in interview.

Hello friends following is the definition of important program which are frequently asked in most interview.

1) Write a program to swap two numbers without using a third variable.

2) Write a program to swap two numbers using bit-wise operators.

3) Write a program to check whether the given number is a prime.

4) Write a program to check whether the given number is a palindrome c number.

5) Write a program to check whether the given string is a palindrome.

6) Write a program to generate the Fibonacci series. 

7) Write a program to print"Hello World"without using semicolon anywhere in the code.

8) Write a program to print a semicolon without using a semicolon anywhere in the code.

9) Write a program to compare two strings without using strcmp() function.

10) Write a program to concatenat two strings without using strcat() function.

11) Write a program to reverse a string.

12) Write a program to find the GCD of two numbers.

13) Write a c program to add two numbers without using addition operator.

14) Write a  program to multiply two matrices.

15) Write a  program to convert a decimal number into a binary number.

16) Write a code to implement the Binary Search algorithm.

17) How do you find out if a machine is 32 bit or 64 bit?

18) Write a  program to check given number is perfect number or not.

19) Write a  program to check given number is Armstrong number or not.

20) Write a  program to check given number is strong number or not.

21) Write a  program to print ASCII value of all characters.

22) Write a  program to reverse any number.

23) Write a  program to find out sum of digit of given number.

24) Write a c program to subtract two numbers without using subtraction operator.

25) Write a c program to find out prime factor of given number.

26) Program in c to print 1 to 100 without using loop.

27) Write a c program to find out L.C.M. of two numbers.

28) Write a c program to find out H.C.F. of two numbers.

29) Write a c program for swapping of two string

30) Write a program to find out second largest element of an unsorted array.

31) Write a  program to find out second smallest element of an unsorted array

32) Write a c program for insert an element at desired position in an array.

33) Write a c program for bubble sort.

34) Write a c program for selection sort.

35) Write a c program for merge sort.

36) Write a c program for quick sort.

37) Write a c program to find out sum digits of a number using recursion.

38) Write a c program to find power of a number using function recursion.

39) Write a c program for binary search using recursion.

40) Write a Program To Print Number Of Vowels, Consonants, Characters, Words & Spaces In A   Line Of Text.

41) Write a  Program To Multiply Two 3 * 3 Matrix.

Comments

Popular posts from this blog

How to Install AnyDesk remote desktop client on Ubuntu

How to install Jaspersoft Studio on Eclipse

What is Advanced Encryption Standard (AEC) and online tool to encrypt and decrypt data using AEC.