FPL - All Units - QB
FPL - All Units - QB
6. What are Bitwise operators? List them all along with example.
8. Explain Logical operators, state its types and give relevant example.
12. What is meant by left to right and right to left associativity? explain with example.
14. State various trigonometric functions supported by C. 15. Classify operators based on no. of
7. Write the program to demonstrate the use of weekday number to calculate the weekday name.
12. Explain for loop statements with syntax and program code.
13. Explain while loop statements with syntax and program code.
14. What is Dangling else problem. Explain how to solve this problem.
3) Consider the word PROGRAMMING. Give its indexing. what are the numbers at index 4, 7
and 10?
5) What is 1-D array initialization? Explain types of initializations with its example.
9) What are strings in C? Explain how to declare and initialize strings. Write
a program to compare two strings using strcmp ().
10) Enlist all the string functions. explain them with example.
12) Explain the strlen() function used in C. Also give suitable program