printf expects a pointer to char. “+2” means shift pointer beyond 2 positions.
More Related Contents:
- what is the return type of printf [closed]
- Please explain the following parallel code template
- Can I change the datatype of previously declared variable in C?
- Library not found when compiling
- I need help trying to understand this piece of code about structures and pointers [closed]
- Is type-punning through a union unspecified in C99, and has it become specified in C11?
- How does free know how much to free?
- Read .csv file in C
- C program to convert Fahrenheit to Celsius always prints zero
- Algorithm: efficient way to remove duplicate integers from an array
- Why are hexadecimal numbers prefixed with 0x?
- How to use pointer expressions to access elements of a two-dimensional array in C?
- Looping over arrays with inline assembly
- Initializing entire 2D array with one value
- Call a function named in a string variable in C
- C- Floating point precision
- No performance gain after using openMP on a program optimize for sequential running
- Why does the compiler allocate more than needed in the stack?
- Why is a condition like (0 < a < 5) always true?
- understanding C namespaces
- Recursive mkdir() system call on Unix
- What is -ffreestanding option in gcc?
- what is the difference between struct {0} and memset 0 [duplicate]
- Why getch() returns before press any key?
- Unexpected output of printf
- Why does char* cause undefined behaviour while char[] doesn’t?
- Explain the order of evaluation in printf [duplicate]
- Compare 16 byte strings with SSE
- C the same global variable defined in different files
- Where can I find system call source code?