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 4094main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 8781main() { 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 9625#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 3734Post New Vector India Interview Questions
Why jsp is better than servlet?
Can arraylist contain null values?
What is uncontrollable component in reactjs?
What is standard size journal and big end crankshaft in mahindra bolero
How do I change outlook to classic view?
What are default access rights in teradata?
Explain performance testing?
explain about your MBA project and what u absorbed nd learned in that time
I am working in footwear company at Himachal Pradesh. we want to send raw material - (leather) for Job work our other branch. now my question is that will have we any permission taken from excise & sale tax deppt.
What ipc means?
Difference between soql vs sosl in salesforce?
How do I make my wordpress site public?
i have done M.S. in organic chemistry and now i got admission in M.B.A. (human resource management) but i dont know how i corelate my degree with M.B.A. to convence visa officer
What is JBOD?
How will you convert a string into a percentage?