What Is Farpointer In C Programming And The Proper Defination Of A Macro With Examples?
In programming which uses the programming language C, A far pointer is defined as a pointer which includes a segment number in a segmented architecture computer. The use of a far pointer makes it possible to point to addresses which are outside of the current segment. A far pointer comprises two parts, namely a sixteen-bit segment value and a sixteen-bit offset value. On an Intel 8086 C compiler, the far pointer is declared using a non-standard far pointer. In computer science, the word macro is defined as an abstraction. It defines how a certain input pattern is replaced by a pattern of output according to a defined set of rules. The term is derived from macro-assemblers. There are three types of assemblers, namely programming assemblers, keyboard macros and application macros. Macro languages include C pre-processor, M4, TRAC, GPM, PHP, SMX, TeX, Mi/1, Lisp, Scheme, MacroML, Nemerle, General Purpose Macro Processor and SAM76.