Functions — Syllabus
NIOS · Class 12 · Computer Science
Functions topics: Basics of Functions, Header Files and #include, Library Functions, plus 1 more. Part of the NIOS Class 12 Computer Science syllabus.
Interactive on Super Tutor
Studying Functions? Get the full interactive chapter.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for syllabus and more.
Free trial, no card needed.
Topics in Functions
1. Basics of Functions
- A function is a group of statements that together perform a task.
- Every program in C++ has main() function by default.
- If there is a single function in a program, it should be named main().
2. Header Files and #include
- A header file may be included in two ways: angle brackets or double quotes.
- Angle brackets mean the file is in the standard include directory.
- Double quotes mean the file is in the current directory.
3. Library Functions
- Mathematical functions like sin(), cos(), tan(), asin(), acos(), exp(), log(), log10(), sqrt(), pow(), abs(), and fabs() are defined in math.h.
- Character functions require ctype.h.
- String functions are present in string.h.
4. Function Prototype and Arguments
- The function prototype informs the compiler about the functions to be used in a program, the arguments they take, and the type of value they return.
- Functions which do not return any value are known as void functions.
- The variables which supply the values to a calling function are called actual parameters.
Key Concepts
Central concept: Functions in C++
Work through every topic in Functions with notes and quizzes
Start This ChapterFrequently Asked Questions
What are the important topics in Functions for NIOS Class 12 Computer Science?
How should I revise Functions for the NIOS Class 12 board exam?
Sources & Official References
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Functions
Practice Quiz
Test yourself with a quick quiz
Important Questions
Exam-style questions with answers
Revision Notes
Key points for last-minute revision
Formula Sheet
The chapter's formulas in one place
Chapter Summary
Understand the chapter at a glance
Concept Maps
See how topics connect
Study Plan
Step-by-step plan for this chapter
Flashcards
Quick-fire cards for active recall
For serious students
Get the full Functions chapter — start free.
Quizzes, flashcards, an AI doubt solver and a study plan for NIOS Class 12 Computer Science. Free to start, no card needed.