C-Fortran interoperabilty: passing logical(kind=4) to Fortran

thank you @ivanpribec for the illustrative example of handling logical variables. I spent some time exploring these data types. Yes, so far my experience with passing logical and character data types from C or Python has been not good enough.

As you mentioned, the character data is more intricate (in another post passing character and logical data from Python to Fortran, I mentioned this issue - any suggestion or link to some online/offline resources will be great ).