DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
get last char string c
char fruit[5] = "apple"; printf("Last character : %c", fruit[strlen(fruit)-1]);
Source by reactgo.com #
PREVIOUS
NEXT
Tagged:
#char
#string
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit