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 4749main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9506main() { 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 11125#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 4555Post New Vector India Interview Questions
Why am I getting ### in excel?
When should I use server session pools and connection consumers? : BEA Weblogic
explain how you can parameterize the endpoints in soap ui?
What validate() and reset() method does ?
Which command should you use to find the remaining disk space in unix server?
Explain what is the chemical formula of detergent?
WCF:What is it the Net.TCP Port Sharing? How can we use it?
acceptance criteria for lod & loq by standard deviation of response and slope??
Can we use flow logic control key words in abap/4 and vice-verse?
How many types of constructors are there ? What are they ?
Explain the properties of union.
Explain lock escalation? : Transact sql
What are the disadvantages of using querystrings to send data from one page to another?
What is an eip?
Mention what is the use of function "module procedure" in pl/sql?