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 4374main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9178main() { 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 10411#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }
1 4188Post New Vector India Interview Questions
What is the purpose of namespace in c#?
How to define a cusotmer as a supplier in ORACLE R12
1).what is forest? 2).what is dns and dhcp port no's? 3).what is file system? 4).what is terminal server?
Expand---------NPTO
what is ststic with example
Sir,I am going to sit for IOCL written test exam. recently.Can anyone tell me the name of 'Objective type Question Book on Instrumentation Engineering ' which will help me. Pl. mail to bidyut_71@rediffmail.com / bidyut.saha2008@indiatimes.com / bidyut.saha09@yahoo.in
What is Belgaum issue?
pls tell me function of closing coil of A.C.B.
Where can I find the SSSCC API?
How do I make an automatic table of contents?
Can you set which type of comparison you want to perform by the comparevalidator control?
Can not connect to mysql server 10060?
Explain what is cardiac output?
Is python a shell script?
What is geo restriction on cloud front?