Aptitude Interview Questions
C/C++ Aptitude Questions
C Aptitude Questions
Programming Source Codes
C/C++ Source Codes
C# Source Codes
safest way is to use printf() (or fprintf() or sprintf()) with the
%P specification. That prints a void pointer (void*). Different
compilers might print a pointer with different formats.
Your compiler will pick a format thatís right for your environment.
If you have some other kind of pointer (not a void*) and you want to
be very safe, cast the pointer to a void*:
printf( %Pn, (void*) buffer );
<< Go Back to
C Interview Questions.
Have a Question ?
post your questions here. It
will be answered as soon as possible.
Object Oriented Interview
Questions for more Object Oriented Interview Questions with answers
Interview Questions for more data structure interview questions with