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 4849main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9604main() { 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 11313#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 4637Post New Vector India Interview Questions
What are all the netwoking tools, hardware tools and software tools required for testing a web-based n client server applicatopn?
What is collection class c#?
Any modules contributed to drupal community?
What are dynamic actions? Give a few examples. What are the it's you used in them.
What is the best site to learn javascript?
How to backup a drupal site?
When we use xi adapter?
What are the major responsibilities of a marine engineer?
Is php faster than nodejs?
What is the order of execution of table calculation, lod, reference lines?
What is the client no of SAND BOX.GOLDEN CLIENT, UNIT TESTING,ENDUSER TRAINNING AND PRODUCTION SERVER?????
What is a multivibrator?
What are absences in the sap system?
What is the difference between array and nsarray?
what key differences enable some online advertising campaigns to invest with more flexibility without a predetermined budget in mind?