Join Regular Classroom : Visit ClassroomTech

format specifier

What is %p in C?

%p is a format specifier in C programming language. It is used to print the pointer type data. It prints the memory address of the variable pointed by the pointer in hexadecimal form. In 64 bit systems the pointers are of 8 bytes. So, the full hexadecimal representation is: 0000000000000055. Let’s take an example Example

What is %p in C? Read More »

Format Specifier in C

Format specifier in C : The Format specifier is a string used in the formatted input and output functions. With the help of format specifiers the compiler understand that what is the data type of the variable while taking input through scanf() function and printing the output through printf() function. The format string always starts

Format Specifier in C Read More »