what is a far pointer
Answer Posted / gopal
Far Pointer: A far pointer is that which will point anywhere
in the X MB across segments by containing segment+offset .
far pointers are the normalized pointers of four bytes which
are used to access the main memory of the computer ?it can
access both the data segment and code segment thus by
modifying the offset u can modify refer two different
addresses but refer to the same memory .
Far pointers are not Normalized.
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
Can the size of an array be declared at runtime?
Explain the difference between the local variable and global variable in c?
Can true be a variable name in c?
What is the use of #define preprocessor in c?
What is boolean in c?
can we implement multi-threads in c.
Can the curly brackets { } be used to enclose a single line of code?
Why C language is a procedural language?
What do you understand by friend-functions? How are they used?
What is the difference between a free-standing and a hosted environment?
What is the use of structure padding in c?
In which header file is the null macro defined?
what do you mean by enumeration constant?
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
Explain the difference between #include "..." And #include <...> In c?