printf("%c was appended to arr\n",*(char*)p);

header <stdio.h>

i met a lot of this kind of situation.what are these "%d,%c"stand for?
is there a detailed list about this?
thank you very much!

Recommended Answers

All 3 Replies

thank for guiding!

printf("%c was appended to arr\n",*(char*)p);

header <stdio.h>

i met a lot of this kind of situation.what are these "%d,%c"stand for?
is there a detailed list about this?

Your compiler's documentation will tell you all about the implementation of the standard library functions.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.