I run into a code:
printf("\tout:\t%-14.14s\n", (sprintf(tmpbuf[0], "[%s]", mystring), tmpbuf[0]));
What does those sentence in () with sprintf mean?
I run into a code: printf(\tout:\t%-14.14s\n, (sprintf(tmpbuf[0], [%s], mystring), tmpbuf[0])); What does those sentence
Share
It is an expression involving the comma operator, to put the following into a single line:
The comma operator evaluates both arguments and returns its right argument, i.e.
tmpbuf[0].