FOP Question Bank
FOP Question Bank
Short Question
1. Explain in brief interpreter.
2. Explain conditional operator?
3. Explain relational operator.
4. Which of the following cannot be checked in Switch…..Case Statement?
Character (2) Integer (3) Float (4) enum.
5. What is type casting?
6. Give an example of loop that executes the statements inside it for at least one
time.
7. What is variable? Give the rules to create variable name.
8. What is keyword?
9. What is the difference between post and pre increment operator?
10.Explain infinite loop.
11.Explain continue statement.
12.What is difference between break and continue?
13.How to create write comment in C?
14.What is nested loop?
15.What is use of NULL in string?
16.Explain strlen() and strcat() function.
17.What is the importance of main() or What is the meaning of void main()? Is
it necessary to write void main() in every C program? Why?
Long Question
1. write a note on basic structure of C program
4. Explain Constant and variable in detail.
5. What is expression? How to evaluate expression?
JYOTI VERMA 1
FOP QUESTION BANK-2023
JYOTI VERMA 2
FOP QUESTION BANK-2023
4. If and switch
5. Array and structure
6. 1D and 2D array
Programs:
1. write a program in C to sort an array in ascending/descending
2. Write a program in C to print a given number in reverse order
3. Write a program to check given number is Armstrong number or not.
4. Write a program in C to accept a string and check whether the given
string is palindrome or not.
5. WAP to convert binary to decimal number .
6. WAP to find factorial of given number .
7. Write a program to find maximum and minimum element in array.
8. WAP to read a line and display number of words, character, and digits in
it.
9. Write a 'C' program for the following say row = 4.
1
2 2
3 33
4 444
10. WAP to read 3*3 matrix and find out of the transport of it.
11. WAP to read 2 arrays of 10 numbers. Merge them .
12. WAP to reverse a number
JYOTI VERMA 3