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 4849main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9605main() { 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 11317#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 4638Post New Vector India Interview Questions
How many applications can be configured in one object ?
How do I run a script on mac?
What is the role of banks in developing the economy?
What is the default download location for files on windows?
Dear sir, In our plant have Station Transformer having capacity,i want to know, why LV side 40 - 40MVA is given? & how we can get 6.3 KV supply from tertiary(i.e. Open delta connection), Vector Group YNyn0 - yn0 +d MVA Rating 80MVA / 40 - 40MVA + 26.7MVA Voltage rating 420 (Tap range +6,to -10)81.25% /11.5KV - 11.5KV +6.3KV
Can we use else block with for loop? Answer with one example.
How to display the check box in data grid header?
why do you want to work with aspiring minds?
What are the commands located in client room?
What are the various ami design options?
Explain the difference between trigger.new and trigger.newmap?
What are alternatives to java serialization?
what are the types of subquery? : Sql dba
What techniques would you use to summarize legal documents?
Most medical practices have days in the schedule where everyone seems to be running behind. What do you do if a patient complains about being kept waiting too long?