answersLogoWhite

0


Best Answer

Most functions are available from libraries, however some functions are built-in to the compiler itself. A built-in function is therefore an intrinsic function.

Some intrinsics are only available as built-in functions while others also have standard function equivalents. You can choose to use some or all intrinsics either by using the #pragma compiler directive or via a compiler optimisation switch, such as /Oi in MSVC++, or indeed both.

Intrinsic functions are typically inline expanded to eliminate the overhead of a function call, and some will also provide information back to the compiler in order to better optimise the emitted code.

Intrinsics affect the portability of code but are generally more portable than inline assembler. Indeed, some architectures do not support inline assembler, thus intrinsics are nothing if not essential where optimal code is a requirement.

Your compiler's documentation should provide a complete list of the intrinsic functions available for each platform it supports, along with the standard function equivalents.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Heres the basic definition of a function

(arguments)

{

}

Here are a few examples

void fn()

{

cout<<"This is a function);

}

int sum(int a, int b)

{

return (a+b);

}

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

C++ built-in functions are those functions that are provided for you as part of the language itself, and includes all of the C standard library functions (all of which were inherited from C) and is expanded upon by the C++ standard template library. C++ implementors may provide additional functions that are platform-specific, however these are not considered built-in functions becuase C++ is a cross-platform language. These are best described as 3rd party functions. The functions you yourself write are known as user-defined functions.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

A block of code.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are C plus plus intrinsic functions?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can there be friend functions in c plus plus?

Yes, there can be friend functions in C++.


Printf and scanf Operators in C and C plus plus?

No, they are functions. Operators are -> or ++or /=


Why functions are not used in c plus plus?

Of course they are used. Both stand-alone and class-member functions are used in C++.


What is a method in c plus plus?

In C++, methods are simply class member functions.


How many main functions are used in c plus plus program?

One.


What are the in-built function in c plus plus?

C++ built-in functions are those functions that are provided for you as part of the language itself, and includes all of the C standard library functions (all of which were inherited from C) and is expanded upon by the C++ standard template library. C++ implementors may provide additional functions that are platform-specific, however these are not considered built-in functions becuase C++ is a cross-platform language. These are best described as 3rd party functions. The functions you yourself write are known as user-defined functions.


How do you link a C plus plus program to C functions?

It should work without any special action.


Why does VisualStudio c plus plus not have an option to give functions It is in VS c Sharp?

Turn on the intellisense feature.


What are the two types of constant in c plus plus?

Constant data and constant functions.


What do you call the combination of variables and functions into a single object in C plus plus?

A singleton.


What are the pre-defined function in c plus plus?

The C++ standard library contains all the pre-defined functions.


How do you pass structures as a parameter to the functions in c plus plus?

Put their names into the parameter-list.