top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are segment and offset addresses in C?

+2 votes
1,333 views

What are segment and offset addresses in context of C?

posted Dec 4, 2013 by Anuj Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

When paging technique is performed ,The page will breaks in to the segments and its sequence is said to be segments and is width or can be said as length is called is offset.

In sort...
segment is physical address..
and offset is logical address..

answer Jan 15, 2014 by Atul Mishra
Similar Questions
+3 votes

Char *ptr = "Hello"

Here the pointer value will be consider as char constant and stored in Code/Text segment, but why ?
and why not data or stack ?

0 votes

a and b are compared against
the threshold ‘TH’, and the nearest value is voted as output

+4 votes

Can someone explain me the usage of function pointer? Probably with real time examples ?

...