[Fortran] syntaxhighlighter_viewsource syntaxhighlighter_copycode subroutine SUBWITHOUTPARA() Bind(C,Name="SUBWITHOUTPARA")
implicit none
write(*,*) "In subWithoutPara"
return
end subroutine
[C++] syntaxhighlighter_viewsource syntaxhighlighter_copycode #include "pch.h"
extern "C" {
void SUBWITHOUTPARA();
}
int main(void)
{
int a = 10;
SUBWITHOUTPARA();
return 0;
}
|