Frequently Asked Interview Questions
C Interview Programs
1)w.p for Fibonacci Series a)using functions
b)using Recursion
2)W.p for Factorial a)using functions
b)using Recursion
3)W.p for Perfect number
4)W.p for Palindrome
5)W.p for Prime number or not
6)W.p for Prime number range of N.
7)W.p for sum of digits
8)W.p for pattern given
_ _ _ 1
_ _ 1 2
_ 1 2 3
1 2 3 4
9)W.p for finding the biggest number in an array.
10)W.p for the Second biggest number in an array.
11)W.p for the largest among the three numbers.
12)W.p for Swap two variables without using the third variable.
13)W.p for reverse an array.
14)W.p for reverse a string.
15)W.p for whether a string is a palindrome or not.
16)W.p for user define or without using string library implement a strlen().
17)W.p for user define or without using string library implement a strcpy().
18)W.p for user define or without using string library implement a strcmp().
19)W.p for user define or without using string library implement a strstr().
20)W.p for reverse a linked list.
21)w.p for how to find a whether a linked list is circular or linear.
22)W.p for Binary Search Tree.
23)W.p for bubble sort
24)W.p for insertion sort
25)W.p for merge sort.
26)W.p for heap sort.
27)W.p for Selection sort.
28)W.p for find the duplicate number in an array of 100 numbers.
29)W.p for find a size of a file.
30)W.p for implementation of stack using arrays.
31)Write a program to print like this ,take input from 1 to 100 numbers
if multiples of 3 ,printf " FIZZ"
if multiples of 5 , printf "BUZZ"
if multiples of 3 or 5 ,print "FIZZBUZZ"
if not print its number.
31)write a c program for taking two arrays ,in first array take smallest element and second array take largest element then multiply return the result to main() function and print the output?
32)there is three files in a system,in first file (f1.c) have some data ,so read the strings ,if it is even copy to second file (f2.c) or if it is odd then copy to third file (f3.c) and lastly delete the file (f1.c).
33) 1
3 2
6 5 4
10 9 8 7
10 9 8 7
6 5 4
3 2
1
Write a C /C++ program to print this pattern?
13)W.p for reverse an array.
14)W.p for reverse a string.
15)W.p for whether a string is a palindrome or not.
16)W.p for user define or without using string library implement a strlen().
17)W.p for user define or without using string library implement a strcpy().
18)W.p for user define or without using string library implement a strcmp().
19)W.p for user define or without using string library implement a strstr().
20)W.p for reverse a linked list.
21)w.p for how to find a whether a linked list is circular or linear.
22)W.p for Binary Search Tree.
23)W.p for bubble sort
24)W.p for insertion sort
25)W.p for merge sort.
26)W.p for heap sort.
27)W.p for Selection sort.
28)W.p for find the duplicate number in an array of 100 numbers.
29)W.p for find a size of a file.
30)W.p for implementation of stack using arrays.
31)Write a program to print like this ,take input from 1 to 100 numbers
if multiples of 3 ,printf " FIZZ"
if multiples of 5 , printf "BUZZ"
if multiples of 3 or 5 ,print "FIZZBUZZ"
if not print its number.
31)write a c program for taking two arrays ,in first array take smallest element and second array take largest element then multiply return the result to main() function and print the output?
32)there is three files in a system,in first file (f1.c) have some data ,so read the strings ,if it is even copy to second file (f2.c) or if it is odd then copy to third file (f3.c) and lastly delete the file (f1.c).
33) 1
3 2
6 5 4
10 9 8 7
10 9 8 7
6 5 4
3 2
1
Write a C /C++ program to print this pattern?
I will update more soon.......................................
No comments:
Post a Comment
commnet here