#Meta-Wlp: #Macro: TITLE wlp: Learn C (III) p. 10
#include<stdio.h> int main(){ char * s, * t ; s = "I'm melting!" ; while ( *(t=s++) ) { while ( *t ) printf("%c",*t++) ; printf("\n") ; } }What best describes the action of
*t++
?
#Shuffle: none $PAGE$-A $PAGE$-B
Return to Learn C Table of Contents
#:
Pull out the value referenced by t for use by printf. After
getting this value, replace t by t+1. This moves to the
next character in the string.
#:
First, replace t by t+1, then dereference the result to produce
a value for use by printf.
#: