fputs

Defined in header <stdio.h> int fputs( const char *str, FILE *stream ); (until C99) int fputs( const char *restrict str, FILE *restrict stream ); (since C99) Writes given null-terminated character string to the given output stream. Parameters str - null-terminated character string to be written stream - output stream Return value Non-negative integer on success, EOF on failure. Example fputs() with error checking. #include <

fputc

Defined in header <stdio.h> int fputc( int ch, FILE *stream ); int putc( int ch, FILE *stream ); Writes a character ch to the given output stream stream. putc() may be implemented as a macro and evaluation stream more than once, so the corresponding argument should never be an expression with side effects. Internally, the character is converted to unsigned char just before being written. Parameters ch - character to be written stream - output stream

fpclassify

Defined in header <math.h> #define fpclassify(arg) /* implementation defined */ (since C99) Categorizes floating point value arg into the following categories: zero, subnormal, normal, infinite, NAN, or implementation-defined category. The macro returns an integral value. FLT_EVAL_METHOD is ignored: even if the argument is evaluated with more range and precision than its type, it is first converted to its semantic type, and the classification is based on that: a normal long

fortran

Usage conditionally-supported type specifier for Fortran language linkage. May be used with function declarations and other external declarations to indicate that the calling convention and name mangling is suitable for linking with translation units written in the Fortran programming language.

for loop

Executes a loop. Used as a shorter equivalent of while loop. Syntax for ( init_clause ; cond_expression ; iteration_expression ) loop_statement Explanation Behaves as follows: init_clause may be an expression or a declaration If it is an expression, it is evaluated once, before the first evaluation of cond_expression and its result is discarded. (C99) If it is a declaration, it is in scope in the entire loop body, including the remainder of init_clause, the entire cond_express

for

Usage for loop: as the declaration of the loop

fopen

Defined in header <stdio.h> (1) FILE *fopen( const char *filename, const char *mode ); (until C99) FILE *fopen( const char *restrict filename, const char *restrict mode ); (since C99) errno_t fopen_s(FILE *restrict *restrict streamptr, const char *restrict filename, const char *restrict mode); (2) (since C11) 1) Opens a file indicated by filename and returns a pointer to the file stream associated with that file. mode is used to

fmod

Defined in header <math.h> float fmodf( float x, float y ); (1) (since C99) double fmod( double x, double y ); (2) long double fmodl( long double x, long double y ); (3) (since C99) Defined in header <tgmath.h> #define fmod( x, y ) (4) (since C99) 1-3) Computes the floating-point remainder of the division operation x/y. 4) Type-generic macro: If any argument has type long double, fmodl is called. Otherwise, if any argument has int

fmin

Defined in header <math.h> float fminf( float x, float y ); (1) (since C99) double fmin( double x, double y ); (2) (since C99) long double fminl( long double x, long double y ); (3) (since C99) Defined in header <tgmath.h> #define fmin( x, y ) (4) (since C99) 1-3) Returns the smaller of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen). 4) Type-generic macr

fmax

Defined in header <math.h> float fmaxf( float x, float y ); (1) (since C99) double fmax( double x, double y ); (2) (since C99) long double fmaxl( long double x, long double y ); (3) (since C99) Defined in header <tgmath.h> #define fmax( x, y ) (4) (since C99) 1-3) Returns the larger of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen). 4) Type-generic macro