Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

print a part of string c

int length = 5;
printf("%*.*s", length, length, "hello there");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #part #string
ADD COMMENT
Topic
Name
6+2 =