+ 5
What is difference between library and function ?
C++
6 odpowiedzi
+ 8
It's a bit like asking what is the difference between your school library and a book.
+ 7
Hey there,
A library is a way of including multiple functions in a small package.
For example iostream is a tiny library in C++ that contains many functions
+ 5
A function is a block of reusable code that is used to perform a single operation and a library is a set of related functions that help you perform some larger tasks, e.g. graphic processing, cryptographic encryption, etc.
+ 3
Thanks
+ 3
Ok
+ 3
Thanks