concept data type in category fortran

This is an excerpt from Manning's book Modern Fortran: Building efficient parallel applications.
While I’m not expecting you to have prior Fortran experience, I assume you have at least some programming experience in a language like Python, R, Matlab, or C. We won’t go into detail about what is a program, a variable, a data type, source code, or computer memory, and I’ll assume that you have an idea about these concepts. Occasionally, we’ll touch on elements of calculus, although it’s not crucial that you’re familiar with it. We’ll also work quite a bit in the terminal (compiling and running programs), so I assume you’re at least comfortable navigating the command line. Whatever the case, to help ensure clarity, any Fortran concept in this book will be taught from scratch.
Listing 3.5. Specifying the data type of the function result in the
functionstatementlanguage="fortran" linenumbering="unnumbered">integer function sum(a, b) #1 integer, intent(in) :: a, b #2 sum = a + b end function sum
The C function can be made available to call from Fortran by defining a function interface that binds to and uses data types equivalent to the target C function.
The iso_c_bindingbuilt-in module provides data types that are compatible with C types, as well as special characters like carriage return, new line, and null character.