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 4115main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 8801main() { 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 9658#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 3750Post New Vector India Interview Questions
What are the different types of fragmentation?
What are the segments in asset master ? : fi- asset accounting
Which BOM item category you have used?
What is factless fact tables?
What function are arguments available to express js route handlers?
By any way can we increase the B check hours from 300 to 500
How do I change apache to mpm?
Define seam finish?
what is tableau data server?
What is the difference between attributes and property?
What is a function in oracle pl sql?
What are the uses of lead compensator?
What is the latest version of edubuntu and when was it released?
Define heap order property?
What is the domain in weblogic server?