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 4919main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9680main() { 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 11452#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 4722Post New Vector India Interview Questions
What is architecture explorer in visual studio?
How to write date and time interval literals in oracle?
What is a boolean in java?
What is the difference between isempty and isblank?
What are the naming convention in yii 2.0 framework?
What are the advantages of servlets over traditional cgi?
Is null in mysql?
Dear Engineers, Can you please advise me the material requirement to construct a room 4 M x 4 M 1. No. of Standard Brick 2. Requirement of Cement Bags 3. And Concrete for Steel, Cement, sand, etc Thanks
What is rx in android?
What are features of r functions?
How do you remove duplicates from a list whilst preserving order?
Hi Could someone please provide Siebel Testing Interview questions for 5 years exp.
What is onpause?
What is topping?
Can more than one person use the same login?