Functions in C help divide a large program into smaller and manageable parts. This makes programs easier to understand, write, and debug. Instead of repeating the same code again and again, functions allow code reuse.
In this chapter, students will learn how to create functions, pass values to them, and return results. Understanding functions will help you write organized and efficient C programs.
📥 Download Class 12 Computer Science Chapter 13 Functions in C Notes
📄 Chapter 13 – Functions in C Complete Notes
Skip to PDF contentYou can download the complete notes of this chapter, including Functions in C explanations, solved examples, important short questions, long questions, and MCQs, in PDF format. These notes are helpful for exam preparation and quick revision.
👉 Download PDF:
Click here to download Class 12 Computer Science Chapter 13 – Functions in C Notes PDF
📝 MCQs – Chapter 13 Functions in C
1. What is a function in C language?
A) A variable used to store values
B) A block of code that performs a specific task
C) A keyword used for input
D) A type of loop
Answer: B) A block of code that performs a specific task
2. Which function is the starting point of every C program?
A) start()
B) program()
C) main()
D) run()
Answer: C) main()
3. What is the correct syntax of function declaration?
A) function_name return_type();
B) return_type function_name(parameter_list);
C) parameter_list function_name();
D) function_name(parameter_list return_type);
Answer: B) return_type function_name(parameter_list);
4. Which statement is used to send a value back from a function?
A) break
B) continue
C) return
D) exit
Answer: C) return
5. Which of the following is a library function in C?
A) add()
B) sum()
C) printf()
D) value()
Answer: C) printf()
6. Which keyword is used when a function does not return any value?
A) int
B) char
C) void
D) float
Answer: C) void