TipsMake
Newest

Program - Page 74

Learn basic programming with C, C++, Python, JavaScript, PHP, CSS, HTML5 programming languages. You can also find tutorials on databases, SQL Server here.

The function memcmp () in C
25 May 2019

The function memcmp () in C

The function int memcmp (const void * str1, const void * str2, size_t n)) compares the first n bytes of two strings str1 and str2.

The function wcstombs () in C
25 May 2019

The function wcstombs () in C

Function size_t wcstombs (char * str, const wchar_t * pwcs, size_t n) convert wide-char string defined by pwcs into a multibyte string starting at str. Almost all n bytes are

The function memcpy () in C
25 May 2019

The function memcpy () in C

Function void * memcpy (void * str1, const void * str2, size_t n) copies n characters from str2 to str1.

The strstr () function in C
25 May 2019

The strstr () function in C

Char * function strstr (const char * haystack, const char * needle) looks for the final occurrence of the whole needle string (not including the ending null character) that is

The getchar () function in C
25 May 2019

The getchar () function in C

The function int getchar (void) in Library C takes a character (an unsigned char) from stdin. This function is equivalent to the getc function with the parameter stdin.

Function putc () in C
25 May 2019

Function putc () in C

The function int putc (int char, FILE * stream) in Library C writes one character (an unsigned char) defined by the parameter char to the given Stream and increases the position

Putchar () function in C
25 May 2019

Putchar () function in C

The function int putchar (int char) in standard C Library Writes a character (an unsigned char) defined by the char parameter to stdout.

Function puts () in C
25 May 2019

Function puts () in C

The function int puts (const char * str) in the standard C library writes a str string to stdout (not writing null characters). A newline character (new line) is appended to the

The function ungetc () in C
25 May 2019

The function ungetc () in C

The function int ungetc (int char, FILE * stream) in the C Library standard pushes the char character (an unsigned char) onto the Stream given to the next character to be read.

The function perror () in C
25 May 2019

The function perror () in C

The function void perror (const char * str) in the C Library standard prints a message describing the error to stderr. First, the printed string str is followed by a colon and

stdlib.h in C
25 May 2019

stdlib.h in C

The header file named stdlib.h in Standard C Library defines four variable types, a number of macros and various functions to implement common features.

Atof () function in C
25 May 2019

Atof () function in C

The double atof function (const char * str) in Standard C Library converts a string pointed to by parameter str to a floating point number (type double).

The function atoi () in C
25 May 2019

The function atoi () in C

The int atoi function (const char * str) in standard C library converts a string pointed to by parameter str to an integer (int type).

The atol () function in C
25 May 2019

The atol () function in C

The function long int atol (const char * str) in the standard C library converts a string pointed to by parameter str to some long int.

The function strtod () in C
25 May 2019

The function strtod () in C

The double strtod function (const char * str, char ** endptr) in Standard C library converts a string pointed to by parameter str to a floating point number (type double).

Function strtol () in C
25 May 2019

Function strtol () in C

The function long int strtol (const char * str, char ** endptr, int base) in Standard C library converts part of the original string in str to a value of long int corresponding to

Function strtoul () in C
25 May 2019

Function strtoul () in C

The unsigned function long int strtoul (const char * str, char ** endptr, int base) in Standard C library converts part of the original string in str to a value of long int

Calloc () function in C
25 May 2019

Calloc () function in C

The function void * calloc (so-phan-tu, kich-co-phan-tu) allocates the requested memory and returns a pointer to it. The difference between malloc and calloc is: malloc does not

Free () function in C
25 May 2019

Free () function in C

The void free function (void * ptr) frees the previously allocated memory by a call to calloc, malloc, or realloc

Malloc () function in C
25 May 2019

Malloc () function in C

The malloc () function allocates the requested memory and returns a pointer to it.