Вы находитесь на странице: 1из 1

PIC QUESTION BANK 32.

Explain the String related library functions


Strcat, strcpy, strcmp, strlen, strrev,strlwr, strupr
1. What are the rules to construct the Variables? 33. Explain the meaning of following statements
2. Enlist the features of ‘C’ Language. Int *ptr, m=8;
3. Define Tokens. Ptr=m;
4. Define Keywords. Ptr=&m;
5. Explain the formatted input & output functions present in 34. Explain the pointer operators in ‘C’. or
‘C’. Explain the use of ‘*’ and ‘&’ operator.
6. Explain the Structure of ‘C’ language. 35. Explain the pointer arithmetic in ‘C’.
7. What are the operators present in ‘C’? 36. Explain pointer to Array method.
8. Explain Arithmetic & Logical operator with example.
9. What is Algorithm? PROGRAMS
10. What are the relational operators present in ‘C’? 37. WAP for Fibonacci Series. -1 1 0 1 1 2 3 5 8 13….
11. What is the meaning of ++i & i++. 38. WAP to find factorial of number using Recursion or without
12. Explain ‘simple if’ statement. Recursion.
13. Explain ‘if…else’ with example. 39. WAP to swap two numbers.
14. Explain nested if…else with example. 40. WAP to find the greatest no. between 10 no.s
15. Differentiate between while & do-while. 41. WAP to find out no. is even or odd.
16. Describe the use of while statement with example. 42. WAP to find out year is leap or not.
17. Explain working of do-while statement. 43. WAP to generate following pattern
18. In how many ways we can write for loop? * 1
19. Explain the switch case statement. ** 1 2
20. Differentiate between break & continue *** 1 2 3
21. What is function? **** 1 2 3 4
22. What is Recursion? ***** 1 2 3 4 5
23. Differentiate between call by value & call by reference.
24. Define function prototype. 44. WAP to reverse the given no. i.e 123 as 321
25. What is array enlist its type. 45. WAP to find out the sum of the digit present in number.
26. What is one dimensional array? How to initialize it. i.e. 123 as 1+2+3=6.
27. What is two dimensional array? How to initialize it.
28. Define structure with example. 48.WAP to add two 3X3 matrices.
29. Differentiate between array & structure.
30. Differentiate between Local & Global Variable.
31. Define String.

Вам также может понравиться