C/C++ Interview Questions with solution



Like us on Facebook




If you are a student who are preparing for campus placement and interview here are some useful resource for you. I collected some of the good C/C++ questions which is generally asked in Interview.




1. Write a program to print the factorial of a number.


2. Write a program to check whether number is prime or not.


3.  Find the duplicate element in an array with minimum complexity.


4. Swap two numbers with or without using temp variable.


5. Find factorial of number using recursion.


6. Reverse the number.


7. Find duplicate character in a string with minimum complexity.


8. Reverse the string.


9. Questions related to oops concept.


10. Question related to Operator overloading and exceptions.




AMCAT Test


Elitmus Test

No comments:

Post a Comment