![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions The 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 Latest Answer : I tried both %p and %Fp. There is no difference, atleast in MS visual studio. Both are printing the same value. ... Differentiate between an external variable definition and external variable declaration S.No External Variable DefinitionExternal Variable Declaration1It creates variablesIt refers to the variable already defined2It allocates memoryIt does not allocates memory3The keyword extern is not usedThe keyword extern is used4It can be initializedIt can not be initialized5It appears only onceIt can be declared in many places6It must be outside all the blocks Latest Answer : #include offset = offsetof(type,member);use this macro.or visit below link for more details. http://www.thinkage.ca/english/gcos/expl/c/lib/offset.html ... What is Field Width Specification? Latest Answer : field width specification means to allocate the a particular fixed size of a varriable whether varriable is small in size or big.eg:if we allocate a field width of a varriable is 10 and the varriable is a[5] then it will just take a five block ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||