C++ <cstdlib> (<stdlib.h>) Header Functions

C++ <cstdlib> (<stdlib.h>) header has the following built-in functions.

Functions Description
abort() Aborts the current process.
abs() Returns the absolute value of the given parameter.
atexit() Sets a function to be executed on exit.
atof() Converts the given string to double.
atoi() Converts the given string to integer.
atol() Converts the given string to long integer.
atoll() Converts the given string to long long integer.
at_quick_exit() Sets a function to be executed on quick exit.
div() Returns the integral quotient and remainder of the division of numerator and denominator.
exit() Terminates calling process.
free() Deallocates the dynamically allocated memory blocks.
getenv() Returns the environment string.
labs() Returns the absolute value of the given value.
ldiv() Returns the integral quotient and remainder of the division of numerator and denominator.
llabs() Returns the absolute value of the given value.
lldiv() Returns the integral quotient and remainder of the division of numerator and denominator.





Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.