typedef

Usage typedef declaration

wcsrchr

Defined in header <wchar.h> wchar_t* wcsrchr( const wchar_t* str, wchar_t ch ); (since C95) Finds the last occurrence of the wide character ch in the wide string pointed to by str. Parameters str - pointer to the null-terminated wide string to be analyzed ch - wide character to search for Return value Pointer to the found character in str, or NULL if no such character is found. Example References C11 standard (ISO/IEC 9899:2011): 7.29.4.5.4 The w

wcsspn

Defined in header <wchar.h> size_t wcsspn( const wchar_t* dest, const wchar_t* src ); (since C95) Returns the length of the maximum initial segment of the wide string pointed to by dest, that consists of only the characters found in wide string pointed to by src. Parameters dest - pointer to the null-terminated wide string to be analyzed src - pointer to the null-terminated wide string that contains the characters to search for Return value The length of

for

Usage for loop: as the declaration of the loop

wctob

Defined in header <wchar.h> int wctob( wint_t c ); (since C95) Narrows a wide character c if its multibyte character equivalent in the initial shift state is a single byte. This is typically possible for the characters from the ASCII character set, since most multibyte encodings (such as UTF-8) use single bytes to encode those characters. Parameters c - wide character to narrow Return value EOF if c does not represent a multibyte character with length 1 in ini

cpowf

Defined in header <complex.h> float complex cpowf( float complex x, float complex y ); (1) (since C99) double complex cpow( double complex x, double complex y ); (2) (since C99) long double complex cpowl( long double complex x, long double complex y ); (3) (since C99) Defined in header <tgmath.h> #define pow( x, y ) (4) (since C99) 1-3) Computes the complex power function xy, with branch cut for the first parameter along the negati

EXIT_SUCCESS

Defined in header <stdlib.h> #define EXIT_SUCCESS /*implementation defined*/ #define EXIT_FAILURE /*implementation defined*/ The EXIT_SUCCESS and EXIT_FAILURE macros expand into integral expressions that can be used as arguments to the exit function (and, therefore, as the values to return from the main function), and indicate program execution status. Constant Explanation EXIT_SUCCESS successful execution of a program EXIT_FAILURE unsuccessful execution of

break statement

Causes the enclosing for, while or do-while loop or switch statement to terminate. Used when it is otherwise awkward to terminate the loop using the condition expression and conditional statements. Syntax break ; Appears only within the statement of a loop body (while, do, for) or within the statement of a switch. Explanation After this statement the control is transferred to the statement or declaration immediately following the enclosing loop or switch, as if by goto. Keyword

abs

Defined in header <stdlib.h> int abs( int n ); long labs( long n ); long long llabs( long long n ); (since C99) Defined in header <inttypes.h> intmax_t imaxabs( intmax_t n ); (since C99) Computes the absolute value of an integer number. The behavior is undefined if the result cannot be represented by the return type. Parameters n - integer value Return value The absolute value of n (i.e. |n|), if it is representable.

scanf

Defined in header <stdio.h> (1) ​int scanf( const char *format, ... );​ (until C99) ​int scanf( const char *restrict format, ... );​ (since C99) (2) int fscanf( FILE *stream, const char *format, ... ); (until C99) int fscanf( FILE *restrict stream, const char *restrict format, ... ); (since C99) (3) int sscanf( const char *buffer, const char *format, ... ); (until C99) int sscanf( const char *restrict buff