Introduction to Functions in C Programming | Types of Functions | 10th Computer Chapter 5

preview_player
Показать описание
Unit Introduction
A good problem solving approach is to divide the problem into multiple smaller parts or sub-problems. Solution of the whole problem thus consists of solving the sub-problems one by one, and then integrating all the solutions. In this way, it becomes easier for us to focus on a single smaller problem at a time, instead of thinking about the whole problem all the time. This problem solving approach is called divide and conquer. C programming language provides us with functions that allow us to solve a programming problem using the divide and conquer approach. In this chapter, we will learn the concept of functions, their advantages, and how to work with them.

5.1 Functions
A function is a block of statements which performs a particular task, e.g. printf is a function that is used to display anything on computer screen, scanf is another function that is used to take input from the user. Each program has a main function which performs the tasks programmed by the user. Similarly, we can write other functions and use them multiple times.

5.1.1 Types of Functions
There are basically two types of functions:
1) Built-inFunctions
2) User Defined Functions

Built-in Functions
The functions which are available in C Standard Library are called built-in functions. These functions perform commonly used mathematical calculations, string operations, input/output operations etc. For example, printf and scanf are built-in functions.

User Defined Functions
The functions which are defined by a programmer are called user-defined functions. In this chapter we will learn how to write user defined functions.

Timestamp
00:00 Video Intro
01:22 Unit Introduction
06:58 Function
08:24 Types of Function
08:58 Build-in Functions
09:56 User Defined Functions
10:21 Outro

Social Media Links:
______/❤ All Students are requested to Follow Me on Social Media!! ❤\________

10th Class Computer Science:
How to install and Download Code::Blocks:
10th Computer Science All Lectures Playlist:
10th Computer Science All Exercise Playlist:
10th Computer Science All Example Code Playlist:
10th Computer Science All Programming Time:
10th Computer Science All Activities Playlist:
10th Computer Science All Programming Exercise Playlist:

9th Class Computer Science:
9th Computer Science Chapter 1:
9th Computer Science Chapter 2:
9th Computer Science Chapter 4:
9th Computer Science Chapter 4:
9th Computer Science Chapter 5:
9th Computer Science All Exercise:
9th Computer Science All Activates:
9th Computer Science Complete Lectures:

#FunctionsInC
#CFunctions
#FunctionsCTutorial
#CFunctionsTutorial
#CTutorialFunctions
#CFunctionsExplained
#FunctionsTutorialInC
#CProgrammingLearnFunctions
#WhatIsFunctionInCWithExample?
#FunctionsInCLanguage
#FunctionsInCProgramming
#SyntaxOfFunctionInC
#SyntaxOfFunctions
#ExampleOfFunctionsInC
#CProgramming
#CProgrammingFunctions
#DigitalEducation
#DigitalEducationShahbazAli
#IntroductiontoProgramming
#LearnPythontheHardWay
#PythonCrashCourse
#IntroductiontoPython
#IntroductiontoJava
#IntroductiontoC
#IntroductiontoC
#ComputerGraphicsCourse
#IntroductiontoProgrammingLanguage
#IntroductiontoWebDevelopment
#CProgrammingCourse
#IntroductiontoCProgramming

#10thComputerChapter1
#10thComputerChapter2
#10thComputerChapter3
#10thComputerChapter4
#10thComputerChapter5
#10thComputer
#10thComputerChapter1Exercise
#10thComputerChapter2Exercise
#10thComputerChapter3Exercise
#10thComputerChapter4Exercise
#10thComputerChapter5Exercise
#10thComputerScience
#10thComputerPaper2022
#10thComputerPairingScheme2023
#10thComputerPaper2023
#10thComputerPairingScheme2023
#CLanguageTutorialforBeginners
#CLanguage
#CLanguageFullCourse
#CLanguageProgramming
#CLanguageCodewithHarry
#CLanguageFullCourseinHindi
#CLanguageBasics
#CLanguageTutorial
#CLanguageCourse
#CLanguageTutorialforBeginnersinHindi
#CLanguageinHindi
#CLanguageSaurabhShukla
#CLanguageProject
#CLanguagewithHarry

Computer Science 10th class
Lecturer of Computer Science
By Sir Shahbaz Ali
For any query or private tutoring contact (0309-0334424)
Рекомендации по теме
join shbcf.ru