Pipes support half duplex communication. But if we want full-duplex communications we should use two pipes between two processes. Is such situation can leads to deadlock? Write two scenarios that could leads to deadlock in such situations?
1 4920main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9688main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }
4 11455#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 4724Post New Vector India Interview Questions
i have a written test for microland please give me test pattern
What happen if the number of the reducer is 0 in MapReduce?
can u tell me any JAM topics.........and answers also...plz send me.........e-mail: anitha839@gmail.com
What test cases can you automate using QTP?
Server Got down ..what are the primary steps need to take initially ? mail me asap?
What is the parameter mode that can be passed to a procedure?
what we have done after display the result in openSTA result pane.in the sense that how we send the report,what we send in report,how to know that where is error.quickly tell me the answer...please
What is css wikipedia?
Explain the various scope values for
What is local storage concept in HTML 5?
Can we call servlet from jsp?
What is the relation between environmental resistance and the population growth according to the biotic potential curve and the real population growth curve?
If I have a char * variable pointing to the name of a function ..
What is an Oracle Data Block?
Is quicksort a stable sorting algorithm?