다음을 통해 공유


Calling Example: Function Prototype and Call

OverviewHow Do I

The following example shows the results of making a function call using various calling conventions.

This example is based on the following function skeleton. Replace calltype with the appropriate calling convention.

void    calltype MyFunc( char c, short s, int i, double f );
.
.
.
void    MyFunc( char c, short s, int i, double f )
    {
    .
    .
    .
    }
.
.
.
MyFunc ('x', 12, 8192, 2.7183);

See Results of Calling Example.