100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Presentation

Functions

Rating
-
Sold
-
Pages
36
Uploaded on
11-02-2021
Written in
2018/2019

Functions in C language












Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
February 11, 2021
Number of pages
36
Written in
2018/2019
Type
Presentation
Person
Unknown

Content preview

Functions


©LPU CSE202 C++ Programming

, What is function????
• Function is a self contained block of
statements that perform a coherent task of
some kind.
• Every C++ program can be a thought of the
collection of functions.
• main( ) is also a function.




©LPU CSE202 C++ Programming

, Types of Functions.

• Library functions
– These are the in- -built functions of ‘C++ ’library.
– These are already defined in header files.
– e.g. Cout<<; is a function which is used to print at
output. It is defined in ‘iostream.h ’ file .
• User defined functions.
– Programmer can create their own function in C++
to perform specific task


©LPU CSE202 C++ Programming

, Why use function?


©LPU CSE202 C++ Programming
£8.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
muskaankaur

Get to know the seller

Seller avatar
muskaankaur
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
4 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions