Hello Friends,
Here the some basic question lists in C and C++ programming language , which are most frequently asked questions in an freshers level / experienced interview in software companies in India.
- Write a program to Swap two numbers :
- using third variable
- without third variable
- using bit-wise operator
- Write a program for
- Pass By Value
- Pass By Reference
- Recursion Program:
- Prime Number
- Factorial series
- Fibonacci Series
- Sum of Series
- Palindrome
- A partition of a positive integer n is a sequence of
positive integers that sum to n. Write a program to print all
non-increasing partitions of n.
eg. n=4
4
3 1
2 2
2 1 1
1 1 1 1 - Print this pattern:
1
2 3
4 5 6 ,
and
1
2 2
3 3 3.
Comments
Post a Comment