The document contains a list of 49 questions about various C programming concepts to be used as a reference for a question bank. The questions cover topics like basic C program structure, data types, operators, control flow statements, functions, arrays, pointers, structures, file handling and more.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
65 views2 pages
PPS Question Bank - Updated
The document contains a list of 49 questions about various C programming concepts to be used as a reference for a question bank. The questions cover topics like basic C program structure, data types, operators, control flow statements, functions, arrays, pointers, structures, file handling and more.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
PPS Question Bank
1. Draw and explain basic structure of c program.
2. Explain C-Token in details. 3. What is user defined type declaration Explain with example? 4. Explain #define directive with example. 5. What is constant? Explain constant keyword with example. 6. List out various operator and explain any five with example. 7. Explain implicit and explicit type conversion with example. 8. Draw and explain flow chart of nested if..else statement. 9. Explain else if ladder with example. 10. Explain switch statement in details. 11. Explain goto statement with example. 12. Differentiate entry-controlled loop and exit controlled loop. 13. Explain while loop with example. 14. Explain do while loop with example. 15. Explain continue statement with example. 16. Explain initialization of 1-D and 2-D array. 17. Discuss element of user defined function. 18. List all the string handling function and explain in details. 19. What is user defined function? Discuss category of User defined function. 20. What is recursion? Discuss using proper example. 21. What is pointer? Explain in details. 22. What is structure? Write a c program to store and display the student information using structure. 23. Explain different file operation and file modes in details. 24. Define File and write a program in C by using fgets(). 25. Explain fopen( ) and fclose( ) function in C. 26. Differentiate between calloc() and malloc(). 27. Differences between compiler & interpreter. 28. Draw flow chart, Write Algorithm and C program for given number is Even or Odd. 29. Explain logical operators with a suitable example. 30. Define Array and Write syntax to initialize one-dimensional array in C program? 31. List out categories of user defined functions in C and write C program of any two categories which takes Two numbers as input from user and display which is the great number. 32. Give the difference between break and continue statement. 33. Write a C program to print following pattern of numbers using nested for loop. 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 34. Write a C program to convert string from uppercase to lowercase. 35. Write a C program using array of structure to read and print below data of 2 employees: i. Name ii. Id iii. Salary 36. Write a C program to add two numbers using pointers with output. 37. Write a C program using fprintf() with output. 38. Write a C program to generate Fibonacci series. 39. Write a C program to find a Factorial of a number by using Recursion. 40. Write a C program to check weather number is Armstrong or not? 41. Write a C program that display the number in reverse order (e.g 123--→321) 42. Write a C program to find factorial of given number using for, while and do while. 43. Write a C program check weather number is prime or not. 44. Write a C program to check weather number is odd or even using simple if else. 45. Write a C Program to find the maximum number among three number using else if ladder. 46. Write a C program to perform addition and multiplication of two 3×3 matrix. 47. Write a C program to swap a number using call by reference and call by value. 48. Write a C program to find factorial of given number using recursion. 49. Write a C program to check entered string is palindrome or not.
Note: Above questions are only for reference please refer all practical and lecture material for more reference.