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 4919main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9680main() { 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 11448#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 4721Post New Vector India Interview Questions
Which is the smallest dog on the earth?
The function of a transistor used in any of the ics is to perform switching action and not amplification. Then why diodes are not used instead of transistors as diodes also exhibit the same switching action?
Do you have any idea about the latest crop insurance scheme for farmers?
How do you add keywords?
You want to run a payment run. Which dates would you take into consideration?
How do you open a new fiscal year in the system?
IS it possible to built the oracle database without setting the kernal parameters?
Tell us how do you ensure you're not overfitting with a model?
What is functional dependency in the database?
What is the general form of function in c?
Describe why operational and informational systems are separate.
What are the uses of orifice plates?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
What is rds instance?
When should you use a spring boot? : Spring Boot