2 answers
1
main() { char *p1="name"; char *p2; p2=(char*)malloc(20); memset(p2,0,20); while(*p2++=*p1++); printf("%s\n",p2); }
1 answer
4
1 answer
6
0 answers
7
Consider the following code:S1ParbeginBeginS2:S4End;BeginS3;ParbeginS5;BeginS6:S8EndParendEndS7ParendS9Find the precedence graph?
2 answers
10
Consider a sliding window protocol that uses Selective Repeat, the sender sliding window size is $32$. The sequence number of the frame to be sent after sending $200$ fra...
1 answer
13
Apply single source shortest path algorithm on the given graph using vertex ‘A’ as the source. What is the maximum possible distance between vertex A to vertex G. (As...
1 answer
14
A TCP sender choses its initial sequence number as 1093 and sends 1460bytes of data to the reciever The reciever has an initial sequence number391 and acknowledges the ...