Computer Programming C: UNIT III: Functions and Pointers

Functions and Pointers of C Programming: Important Questions

Computer Programming C

Anna University Important Questions - Computer Programming C: Functions and Pointers

REVIEW QUESTIONS

 

1. What is user‒defined function in C?

2. Define actual and formal parameter.

3. Differentiate between local and global variables.

4. Give some important points while using return statement.

5. Briefly explain about function prototypes.

6. Explain call by value and call by reference and nesting of functions.

7. Briefly explain about library functions with few examples.

8. Write a program to send and receive value from the user - defined functions.

9. Write a program to evaluate the equation S=Sqr(m( )+n( )) using functions.

10. Write a program to print the Fibonacci series using recursion.

11. Write a program to demonstrate Tower of Honoi.

12. Write a program to print values by handling preprocessing.

13. Give any two features of pointer.

14. Give the advantage of using pointer.

15. Define pointers with multi‒dimensional array.

16.  What is the use of calloc ()? Give its syntax.

17. Explain need of pointers and its advantages.

18. Give comparison between call by value and call by reference.

19. Describe operations on pointer with example.

20. Write a program to print the values before and after calling the function with pointers.

21. Write a program to print the value and the address of element using arrays.

22. Write a program to add the sum of numbers using pointer concept.

23. Write a program to sort a list of strings in alphabetical order using array of pointers.

 

Computer Programming C: UNIT III: Functions and Pointers : Tag: Computer Science : Computer Programming C - Functions and Pointers of C Programming: Important Questions


Computer Programming C: UNIT III: Functions and Pointers



Under Subject


Computer Programming C

CS25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation



Related Subjects


English Essentials I

EN25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation


தமிழர் மரபு - Heritage of Tamils

UC25H01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation


Applied Calculus

MA25C01 Maths 1 M1 - 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation


Applied Physics I

PH25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation


Applied Chemistry I

CY25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation


Makerspace

ME25C04 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation


Computer Programming C

CS25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation


Computer Programming Python

CS25C02 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation


Fundamentals of Electrical and Electronics Engineering

EE25C03 1st Semester EEE Depart | 2025 Regulation | 1st Semester 2025 Regulation


Introduction to Mechanical Engineering

ME25C03 1st Semester Mechanical Dept | 2025 Regulation | 1st Semester 2025 Regulation


Introduction to Civil Engineering

CE25C01 1st Semester Civil, Agri Departments | 2025 Regulation | 1st Semester 2025 Regulation


Essentials of Computing

CS25C03 1st Semester - AIDS, CSE, CSE(CY), IT Department | 2025 Regulation | 1st Semester 2025 Regulation


Applied Physics I Laboratory

PH25C01 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation


Applied Chemistry I Laboratory

CY25C01 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation


Computer Programming C Laboratory

CS25C01 1st Semester EEE, ECE, CSE, CSE(CY), AIDS, IT practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation


Computer Programming Python Laboratory

CS25C02 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation


Engineering Drawing

ME25C01 EEE, Mech, Agri, EEE Depts | 2025 Regulation | 2nd Semester 2025 Regulation


Basic Electronics and Electrical Engineering

EE25C04 1st Semester ECE Dept | 2025 Regulation | 1st Semester 2025 Regulation


Essentials of Computing - Laboratory

CS25C03 1st Semester AIDS, CSE, CSE(CY), IT Depts | practical Laboratory Manual | 2025 Regulation | 1st Semester 2025 Regulation