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 4824main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9574main() { 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 11259#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 4606Post New Vector India Interview Questions
What is the advantage of using custom settings?
Tell me how to get memory map (segments) of process?
Suppose you have the sales data in a database table in a different currency. How can you generate a sales report for a region in a particular currency?
whats main working for tester. and developer, and prject manager.
Classes and structs can be declared as static, is this statement true or false?
Can I install windows server 2012 on a pc?
What is admin panel in app?
How long does it take to reset a pc windows 10?
What is subquery in sql?
What are sources in Tensorflow?
____________ are algorithms that learn from their more complex environments (hence eco) to generalize, approximate and simplify solution logic. a) Fuzzy Relational DB b) Ecorithms c) Fuzzy Set d) None of the mentioned
How to use element in xslt? : xslt
What is javacpl?
what is virtual function and pure virtual function ?
what is difference between controlnet,devicenet protocol?