Questions for Practice 4

Questions for Practice

  • What is C programming? Write down its features.
  • What is the difference between a library and a user-defined function?
  • Explain recursive function with an example.
  • Differentiate between structure and union.
  • Define pointer. Write its advantages and disadvantages.
  • Explain different file manipulation functions used in C.

Practical Questions

  • WAP to read the radius of a circle and display its area.
  • WAP to check if a string is a palindrome or not.
  • WAP to input the name of 20 students and arrange them in alphabetical order.
  • WAP to input a number and calculate its reverse using a function.
  • WAP using structure to input rollno,name and percentage of several students and arrange them in descending order by percentage.
  • WAP to input a number and display its multiplication table using pointers.
  • WAP for writing data in file.