SlideShare a Scribd company logo
1 of 16
WELCOME TO YOUR
PRESENTATION
Topic Name : Built in Function
PRESENTED BY
GroupMember ID
Tania Akter 0111-61-035
MD. Rayhanul Islam 0111-61-036
Saddam Hossain 0111-61-037
FUNCTION :
 A function is a group of statements that together perform
a task.
 A function is a block of code that performs a calculation
and returns a value.
 Every C program has at least one function, which
is main()
CLASSIFICATION OF FUNCTION :
User define
function
Library function
or Built-in function
Function
WHAT IS LIBRARY FUNCTION OR
BUILT-IN FUNCTION??
 Built in functions are the functions that are provided by
C library.
 These functions perform file access, mathematical
computations, graphics, memory management etc.
 Defined in a special header file.
 A function that is built into an application and can be
accessed by end-users.
BUILT-IN FUCTION HEADER FILES:
<stdio.h> : Standard input/output.
<conio.h> : This is console input/output header file.
<string.h> : All string related functions are defined in
this header file.
<math.h> : All maths related functions are defined
in this header file
<time.h> : Time and clock related functions
<STDIO.H> LIBRARY FUNCTIONS SOURCE CODE :
printf() : This function is used to print the character,
string, float, integer, octal and hexadecimal values onto
the output screen.
scanf() : This function is used to read a character,
string, numeric data from keyboard.
getc() : It reads character from file
gets() : It reads line from keyboard
getchar() : It reads character from keyboard
putchar() : It writes a character to screen
getw() : reads an integer from file
putw() : writes an integer to file
fgetc() : reads a character from file
putc() : writes a character to file
feof() : finds end of file
fprintf() : writes formatted data to a file
fscanf(): reads formatted data from a file
fgetchar : reads a character from keyboard
Fputchar : writes a character from keyboard
<CONIO.H> LBRARY FUNCTIONS SOURCE CODE :
clrscr() : This function is used to clear the output
screen.
getch() : It reads character from keyboard
textcolor() : This function is used to change the
text color
textbackground() : This function is used to
change text background
<STRING.H> LIBRARY FUNCTIONS SOURCE CODE:
strcat(str1, str2) : Concatenates str2 at the end of str1.
strcpy(str1, str2) : Copies str2 into str1
strlen(strl) : gives the length of str1.
strcmp(str1, str2) : Returns 0 if str1 is same as
str2. Returns <0 if strl < str2. Returns >0 if str1 > str2.
strdup() : duplicates the string
strlwr() : converts string to lowercase
<MATH.H> LIBRARY FUNCTIONS SOURCE CODE :
sin( ) : This function is used to calculate sine value.
cos( ) : This function is used to calculate cosine.
tan( ) : This function is used to calculate tangent.
log( ) : This function is used to calculates natural
logarithm.
pow( ) : This is used to find the power of the given
number.
<TIME.H> LIBRARY FUNCTIONS SOURCE CODE :
setdate() : This function used to modify the system date
getdate() : This function is used to get the CPU time
clock() : This function is used to get current system time
time() : This function is used to get current system time
as structure
difftime() : This function is used to get the difference
between two given times
ADVANTAGES :
 It helps in making the code very simple and much
more easier to handle.
 A function may be used by many other programs.
 You can use it over and over without retyping the
code
 Less code for more
 Helps organize your code
DISADVANTAGES:
 I think functions are sometimes difficult to handle
and can confuse the programmer in handling
different tasks.
PROGRAMING IN BUILT-IN FUNCTION :
#include<stdio.h>
main()
{
printf ("Welcome To Your Presentation");
}
Sample Output :
THANK YOU

More Related Content

What's hot

Static Data Members and Member Functions
Static Data Members and Member FunctionsStatic Data Members and Member Functions
Static Data Members and Member FunctionsMOHIT AGARWAL
 
Class and object in C++
Class and object in C++Class and object in C++
Class and object in C++rprajat007
 
classes and objects in C++
classes and objects in C++classes and objects in C++
classes and objects in C++HalaiHansaika
 
Function overloading(c++)
Function overloading(c++)Function overloading(c++)
Function overloading(c++)Ritika Sharma
 
User defined functions in C
User defined functions in CUser defined functions in C
User defined functions in CHarendra Singh
 
Functions in c language
Functions in c language Functions in c language
Functions in c language tanmaymodi4
 
Call by value
Call by valueCall by value
Call by valueDharani G
 
Constructor and Types of Constructors
Constructor and Types of ConstructorsConstructor and Types of Constructors
Constructor and Types of ConstructorsDhrumil Panchal
 
C++: Constructor, Copy Constructor and Assignment operator
C++: Constructor, Copy Constructor and Assignment operatorC++: Constructor, Copy Constructor and Assignment operator
C++: Constructor, Copy Constructor and Assignment operatorJussi Pohjolainen
 
class and objects
class and objectsclass and objects
class and objectsPayel Guria
 
Virtual base class
Virtual base classVirtual base class
Virtual base classTech_MX
 
FUNCTIONS IN c++ PPT
FUNCTIONS IN c++ PPTFUNCTIONS IN c++ PPT
FUNCTIONS IN c++ PPT03062679929
 
User defined functions in C programmig
User defined functions in C programmigUser defined functions in C programmig
User defined functions in C programmigAppili Vamsi Krishna
 
Java abstract class & abstract methods
Java abstract class & abstract methodsJava abstract class & abstract methods
Java abstract class & abstract methodsShubham Dwivedi
 

What's hot (20)

Static Data Members and Member Functions
Static Data Members and Member FunctionsStatic Data Members and Member Functions
Static Data Members and Member Functions
 
Class and object in C++
Class and object in C++Class and object in C++
Class and object in C++
 
classes and objects in C++
classes and objects in C++classes and objects in C++
classes and objects in C++
 
Templates in c++
Templates in c++Templates in c++
Templates in c++
 
Function overloading(c++)
Function overloading(c++)Function overloading(c++)
Function overloading(c++)
 
Constructor and destructor
Constructor  and  destructor Constructor  and  destructor
Constructor and destructor
 
User defined functions in C
User defined functions in CUser defined functions in C
User defined functions in C
 
Method overriding
Method overridingMethod overriding
Method overriding
 
C functions
C functionsC functions
C functions
 
Functions in c language
Functions in c language Functions in c language
Functions in c language
 
Call by value
Call by valueCall by value
Call by value
 
Function overloading ppt
Function overloading pptFunction overloading ppt
Function overloading ppt
 
Constructor and Types of Constructors
Constructor and Types of ConstructorsConstructor and Types of Constructors
Constructor and Types of Constructors
 
Java input
Java inputJava input
Java input
 
C++: Constructor, Copy Constructor and Assignment operator
C++: Constructor, Copy Constructor and Assignment operatorC++: Constructor, Copy Constructor and Assignment operator
C++: Constructor, Copy Constructor and Assignment operator
 
class and objects
class and objectsclass and objects
class and objects
 
Virtual base class
Virtual base classVirtual base class
Virtual base class
 
FUNCTIONS IN c++ PPT
FUNCTIONS IN c++ PPTFUNCTIONS IN c++ PPT
FUNCTIONS IN c++ PPT
 
User defined functions in C programmig
User defined functions in C programmigUser defined functions in C programmig
User defined functions in C programmig
 
Java abstract class & abstract methods
Java abstract class & abstract methodsJava abstract class & abstract methods
Java abstract class & abstract methods
 

Similar to Built-in Functions Guide

C-Programming C LIBRARIES AND USER DEFINED LIBRARIES.pptx
C-Programming  C LIBRARIES AND USER DEFINED LIBRARIES.pptxC-Programming  C LIBRARIES AND USER DEFINED LIBRARIES.pptx
C-Programming C LIBRARIES AND USER DEFINED LIBRARIES.pptxSKUP1
 
C-Programming C LIBRARIES AND USER DEFINED LIBRARIES.pptx
C-Programming  C LIBRARIES AND USER DEFINED LIBRARIES.pptxC-Programming  C LIBRARIES AND USER DEFINED LIBRARIES.pptx
C-Programming C LIBRARIES AND USER DEFINED LIBRARIES.pptxLECO9
 
headerfilesinc-181121134545 (1).pdf
headerfilesinc-181121134545 (1).pdfheaderfilesinc-181121134545 (1).pdf
headerfilesinc-181121134545 (1).pdfjazzcashlimit
 
Function in c language(defination and declaration)
Function in c language(defination and declaration)Function in c language(defination and declaration)
Function in c language(defination and declaration)VC Infotech
 
IIM.Com-FIT-Unit2(14.9.2021 TO 30.9.2021).pptx
IIM.Com-FIT-Unit2(14.9.2021 TO 30.9.2021).pptxIIM.Com-FIT-Unit2(14.9.2021 TO 30.9.2021).pptx
IIM.Com-FIT-Unit2(14.9.2021 TO 30.9.2021).pptxrajkumar490591
 
5. Functions in C.pdf
5. Functions in C.pdf5. Functions in C.pdf
5. Functions in C.pdfsantosh147365
 
Managing input and output operation in c
Managing input and output operation in cManaging input and output operation in c
Managing input and output operation in cyazad dumasia
 
System programmin practical file
System programmin practical fileSystem programmin practical file
System programmin practical fileAnkit Dixit
 
Functions and modules in python
Functions and modules in pythonFunctions and modules in python
Functions and modules in pythonKarin Lagesen
 
Programming Fundamentals Functions in C and types
Programming Fundamentals  Functions in C  and typesProgramming Fundamentals  Functions in C  and types
Programming Fundamentals Functions in C and typesimtiazalijoono
 
The Ring programming language version 1.2 book - Part 15 of 84
The Ring programming language version 1.2 book - Part 15 of 84The Ring programming language version 1.2 book - Part 15 of 84
The Ring programming language version 1.2 book - Part 15 of 84Mahmoud Samir Fayed
 
Presentation on Function in C Programming
Presentation on Function in C ProgrammingPresentation on Function in C Programming
Presentation on Function in C ProgrammingShuvongkor Barman
 
Lex tool manual
Lex tool manualLex tool manual
Lex tool manualSami Said
 
Purdue CS354 Operating Systems 2008
Purdue CS354 Operating Systems 2008Purdue CS354 Operating Systems 2008
Purdue CS354 Operating Systems 2008guestd9065
 
0-Slot14-15-16-Libraries.pdf
0-Slot14-15-16-Libraries.pdf0-Slot14-15-16-Libraries.pdf
0-Slot14-15-16-Libraries.pdfssusere19c741
 

Similar to Built-in Functions Guide (20)

C-Programming C LIBRARIES AND USER DEFINED LIBRARIES.pptx
C-Programming  C LIBRARIES AND USER DEFINED LIBRARIES.pptxC-Programming  C LIBRARIES AND USER DEFINED LIBRARIES.pptx
C-Programming C LIBRARIES AND USER DEFINED LIBRARIES.pptx
 
C-Programming C LIBRARIES AND USER DEFINED LIBRARIES.pptx
C-Programming  C LIBRARIES AND USER DEFINED LIBRARIES.pptxC-Programming  C LIBRARIES AND USER DEFINED LIBRARIES.pptx
C-Programming C LIBRARIES AND USER DEFINED LIBRARIES.pptx
 
Header files in c
Header files in cHeader files in c
Header files in c
 
headerfilesinc-181121134545 (1).pdf
headerfilesinc-181121134545 (1).pdfheaderfilesinc-181121134545 (1).pdf
headerfilesinc-181121134545 (1).pdf
 
Fp201 unit2 1
Fp201 unit2 1Fp201 unit2 1
Fp201 unit2 1
 
Functions in C++
Functions in C++Functions in C++
Functions in C++
 
Function in c language(defination and declaration)
Function in c language(defination and declaration)Function in c language(defination and declaration)
Function in c language(defination and declaration)
 
IIM.Com-FIT-Unit2(14.9.2021 TO 30.9.2021).pptx
IIM.Com-FIT-Unit2(14.9.2021 TO 30.9.2021).pptxIIM.Com-FIT-Unit2(14.9.2021 TO 30.9.2021).pptx
IIM.Com-FIT-Unit2(14.9.2021 TO 30.9.2021).pptx
 
5. Functions in C.pdf
5. Functions in C.pdf5. Functions in C.pdf
5. Functions in C.pdf
 
Managing input and output operation in c
Managing input and output operation in cManaging input and output operation in c
Managing input and output operation in c
 
System programmin practical file
System programmin practical fileSystem programmin practical file
System programmin practical file
 
Functions and modules in python
Functions and modules in pythonFunctions and modules in python
Functions and modules in python
 
C structure
C structureC structure
C structure
 
Python_Functions_Unit1.pptx
Python_Functions_Unit1.pptxPython_Functions_Unit1.pptx
Python_Functions_Unit1.pptx
 
Programming Fundamentals Functions in C and types
Programming Fundamentals  Functions in C  and typesProgramming Fundamentals  Functions in C  and types
Programming Fundamentals Functions in C and types
 
The Ring programming language version 1.2 book - Part 15 of 84
The Ring programming language version 1.2 book - Part 15 of 84The Ring programming language version 1.2 book - Part 15 of 84
The Ring programming language version 1.2 book - Part 15 of 84
 
Presentation on Function in C Programming
Presentation on Function in C ProgrammingPresentation on Function in C Programming
Presentation on Function in C Programming
 
Lex tool manual
Lex tool manualLex tool manual
Lex tool manual
 
Purdue CS354 Operating Systems 2008
Purdue CS354 Operating Systems 2008Purdue CS354 Operating Systems 2008
Purdue CS354 Operating Systems 2008
 
0-Slot14-15-16-Libraries.pdf
0-Slot14-15-16-Libraries.pdf0-Slot14-15-16-Libraries.pdf
0-Slot14-15-16-Libraries.pdf
 

Recently uploaded

US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 

Recently uploaded (20)

US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 

Built-in Functions Guide

  • 1. WELCOME TO YOUR PRESENTATION Topic Name : Built in Function
  • 2. PRESENTED BY GroupMember ID Tania Akter 0111-61-035 MD. Rayhanul Islam 0111-61-036 Saddam Hossain 0111-61-037
  • 3. FUNCTION :  A function is a group of statements that together perform a task.  A function is a block of code that performs a calculation and returns a value.  Every C program has at least one function, which is main()
  • 4. CLASSIFICATION OF FUNCTION : User define function Library function or Built-in function Function
  • 5. WHAT IS LIBRARY FUNCTION OR BUILT-IN FUNCTION??  Built in functions are the functions that are provided by C library.  These functions perform file access, mathematical computations, graphics, memory management etc.  Defined in a special header file.  A function that is built into an application and can be accessed by end-users.
  • 6. BUILT-IN FUCTION HEADER FILES: <stdio.h> : Standard input/output. <conio.h> : This is console input/output header file. <string.h> : All string related functions are defined in this header file. <math.h> : All maths related functions are defined in this header file <time.h> : Time and clock related functions
  • 7. <STDIO.H> LIBRARY FUNCTIONS SOURCE CODE : printf() : This function is used to print the character, string, float, integer, octal and hexadecimal values onto the output screen. scanf() : This function is used to read a character, string, numeric data from keyboard. getc() : It reads character from file gets() : It reads line from keyboard getchar() : It reads character from keyboard putchar() : It writes a character to screen
  • 8. getw() : reads an integer from file putw() : writes an integer to file fgetc() : reads a character from file putc() : writes a character to file feof() : finds end of file fprintf() : writes formatted data to a file fscanf(): reads formatted data from a file fgetchar : reads a character from keyboard Fputchar : writes a character from keyboard
  • 9. <CONIO.H> LBRARY FUNCTIONS SOURCE CODE : clrscr() : This function is used to clear the output screen. getch() : It reads character from keyboard textcolor() : This function is used to change the text color textbackground() : This function is used to change text background
  • 10. <STRING.H> LIBRARY FUNCTIONS SOURCE CODE: strcat(str1, str2) : Concatenates str2 at the end of str1. strcpy(str1, str2) : Copies str2 into str1 strlen(strl) : gives the length of str1. strcmp(str1, str2) : Returns 0 if str1 is same as str2. Returns <0 if strl < str2. Returns >0 if str1 > str2. strdup() : duplicates the string strlwr() : converts string to lowercase
  • 11. <MATH.H> LIBRARY FUNCTIONS SOURCE CODE : sin( ) : This function is used to calculate sine value. cos( ) : This function is used to calculate cosine. tan( ) : This function is used to calculate tangent. log( ) : This function is used to calculates natural logarithm. pow( ) : This is used to find the power of the given number.
  • 12. <TIME.H> LIBRARY FUNCTIONS SOURCE CODE : setdate() : This function used to modify the system date getdate() : This function is used to get the CPU time clock() : This function is used to get current system time time() : This function is used to get current system time as structure difftime() : This function is used to get the difference between two given times
  • 13. ADVANTAGES :  It helps in making the code very simple and much more easier to handle.  A function may be used by many other programs.  You can use it over and over without retyping the code  Less code for more  Helps organize your code
  • 14. DISADVANTAGES:  I think functions are sometimes difficult to handle and can confuse the programmer in handling different tasks.
  • 15. PROGRAMING IN BUILT-IN FUNCTION : #include<stdio.h> main() { printf ("Welcome To Your Presentation"); } Sample Output :