Scalar initialization

When initializing an object of scalar type, the initializer must be a single expression. The initializer for a scalar (an object of integer type including booleans and enumerated types, floating type including complex and imaginary, and pointer type including pointer to function) must be a single expression, optionally enclosed in braces: = expression (1) = { expression } (2) The expression is evaluated, and its value, after conversion as if by assignment to the type of the obje

round

Defined in header <math.h> float roundf( float arg ); (1) (since C99) double round( double arg ); (2) (since C99) long double roundl( long double arg ); (3) (since C99) Defined in header <tgmath.h> #define round( arg ) (4) (since C99) Defined in header <math.h> long lroundf( float arg ); (5) (since C99) long lround( double arg ); (6) (since C99) long lroundl( long double arg ); (7) (since C

rint

Defined in header <math.h> float rintf( float arg ); (1) (since C99) double rint( double arg ); (2) (since C99) long double rintl( long double arg ); (3) (since C99) Defined in header <tgmath.h> #define rint( arg ) (4) (since C99) Defined in header <math.h> long lrintf( float arg ); (5) (since C99) long lrint( double arg ); (6) (since C99) long lrintl( long double arg ); (7) (since C99) Defined in header <tgmat

rewind

Defined in header <stdio.h> void rewind( FILE *stream ); Moves the file position indicator to the beginning of the given file stream. The function is equivalent to fseek(stream, 0, SEEK_SET);, except that end-of-file and error indicators are cleared. The function drops any effects from previous calls to ungetc. Parameters stream - file stream to modify Return value (none). Example This example shows how to read a file twice. #include <stdio.h> char

return statement

Terminates current function and returns specified value to the caller function. Syntax return expression ; (1) return ; (2) Explanation 1) Evaluates the expression, terminates the current function and returns the result of the expression to the caller (the value returned becomes the value of the function call expression). Only valid if the function return type is not void. 2) Terminates the current function. Only valid if the function return type is void. If the type of th

return

Usage return statement: as the declaration of the statement

restrict type qualifier

Each individual type in the C type system has several qualified versions of that type, corresponding to one, two, or all three of the const, volatile, and, for pointers to object types, restrict qualifiers. This page describes the effects of the restrict qualifier. Only pointers to object types may be restrict-qualified (in particular, int restrict *p and float (* restrict f9)(void) are errors). restrict semantics apply to lvalue expressions only; for example, a cast to restrict-qualified point

restrict

Usage restrict type qualifier

rename

Defined in header <stdio.h> int rename( const char *old_filename, const char *new_filename ); Changes the filename of a file. The file is identified by character string pointed to by old_filename. The new filename is identified by character string pointed to by new_filename. If new_filename exists, the behavior is implementation-defined. Parameters old_filename - pointer to a null-terminated string containing the path identifying the file to rename new_filename

remquo

Defined in header <math.h> float remquof( float x, float y, int *quo ); (1) (since C99) double remquo( double x, double y, int *quo ); (2) (since C99) long double remquol( long double x, long double y, int *quo ); (3) (since C99) Defined in header <tgmath.h> #define remquo( x, y, quo ) (4) (since C99) 1-3) Computes the floating-point remainder of the division operation x/y as the remainder() function does. Additionally, the sign an