What are segment and offset addresses?
Answers were Sorted based on User's Feedback
Answer / sanjay bhosale
Segments are nothing but sections for e.g code segment(also called text region),data segment, stack segment and heap segment.
They represent different parts of the process or different aspects of the process.
Offsets represents address where next read of write should begin.
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / mayank
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..
Is This Answer Correct ? | 14 Yes | 11 No |
int i; main(){ int t; for ( t=4;scanf("%d",&i)-t;printf("%d\n",i)) printf("%d--",t--); } // If the inputs are 0,1,2,3 find the o/p
main() { char name[10],s[12]; scanf(" \"%[^\"]\"",s); } How scanf will execute?
void main() { char ch; for(ch=0;ch<=127;ch++) printf(“%c %d \n“, ch, ch); }
main( ) { char *q; int j; for (j=0; j<3; j++) scanf(“%s” ,(q+j)); for (j=0; j<3; j++) printf(“%c” ,*(q+j)); for (j=0; j<3; j++) printf(“%s” ,(q+j)); }
1 o 1 1 0 1 0 1 0 1 1 0 1 0 1 how to design this function format in c-language ?
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like.
21 Answers ABC, eBay, Goldman Sachs, Google, HUP, Microsoft, TATA,
main() { printf("%d", out); } int out=100;
Write a program using one dimensional array to assign values and then display it on the screen. Use the formula a[i]=i*10 to assign value to an element.
1 Answers Samar State University,
prog. to produce 1 2 3 4 5 6 7 8 9 10
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
write a program in c language to get the value of arroy keys pressed and display the message which arrow key is pressed?
Cau u say the output....?