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 4759main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9515main() { 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 11140#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }
1 4563Post New Vector India Interview Questions
Generation of voltage for each phase are same of a turbogenerator.Although the short circuit current flow when two phase of turbogenerator are shorted(where current can't flow without potential difference),why?
How do I extract a middle name in excel?
Write a trigger on account, while inserting a text value as ‘somename’ ended with ‘text’ ex: ‘renutext’ on account object it should through an error. How you will achieve this…??
Explain what are threads?
How can I see what pages are indexed in google?
What is the difference between html and html5 w3schools?
What is adapter in java?
Define MapReduce?
What internally happens when bw objects like info object, info cube or ods are created and activated?
Explain how do I remove the adc after moving all of my users to an exchange 2003 server?
What Is The Role Of The National Supervisors?
How 3 phase invertor works?
How to reduce warnings?
What key cost components are there for the product or service? - Venture Capitalists
what is mean by tranducer