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 4787main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9543main() { 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 11178#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 4579Post New Vector India Interview Questions
What is the difference between Discriminating media and DPDM(Dissolution Profile with Different Media)
What are the primitive data types in c?
What is datagrid in vb net?
For titration in anhydrous media with perchloric acide, if lack of titrator, Which indicator is been used for replacement. How calculate pH of test solution to choose suitable indicator?
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
What are dcl commands?
What is location of log files for apache server?
How do I run python on linux?
Why is the put_Font or putref_Font method not called when an ActiveX control's Font property is changed by the ActiveX Control Pad?
Explain Traffic shaping using token bucket algorithm
if a pipe those configuration (ASTM c 76 class b 450mm dia 2500mm length) fixing for water course those lining of water is 7000 running meter. my question is that if 8 joints of pipe ls leakage and we have not permission to stop the water so which treatment we apply on joint in that in condition.
How to prepare serum from plasma?
How are model access classes assigned?
Explain what is dot notation?
What challenges do researchers face in neuromorphic computing?