Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

printing a string with putchar

void printString(char *ch)
{
  while(*ch) {
     putchar(*ch);
     ch++;
  }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #printing #string #putchar
ADD COMMENT
Topic
Name
5+7 =