Format Specifiers of C
| %@ | The specifier is used for class objects and other. |
| %d , %i | The specifiers are used with signed integer. |
| %u | The specifier is used with unsigned integer. |
| %f , %g,%e | These specifiers are used with Float, Double and with Exponential numbers to display. |
| %X or %x | The specifier is used to display hexadecimal integer. |
| %o | The specifier is used to display number in octal integer. |
| %ZU | This specifier is used for size_t data type and for other memory references. Here one thing needed to remind we can use size_t as a datatype also. |
| %P | The specifier is used to display the content of pointer or void pointers. |
| %s | This is one of the most common to display in string format. |
| %c | The specifier is used with single character display with signed or unsigned character. |
| %lld | The specifier is used with long data type content to display. |
| %llu | The specifier is used with unsigned long data type values. |
| %Lf | The specifier is used with long double data type format. |
So that's all for today soon we will come up with programs and explanations greetful thanks....
No comments:
Post a Comment