Corewar documentation 1.0.0
Loading...
Searching...
No Matches
my_get_last_char.c File Reference

The file containing the my_get_last_char function. More...

#include "my.h"

Functions

char my_get_last_char (char *str)
 Returns the last char of a string (str)
 

Detailed Description

The file containing the my_get_last_char function.

Author
Nicolas TORO

Function Documentation

◆ my_get_last_char()

char my_get_last_char ( char * str)

Returns the last char of a string (str)

Parameters
strThe string to check
Returns
char The last char of the string
Author
Nicolas TORO