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 4293main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 9067main() { 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 10151#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }
1 4006Post New Vector India Interview Questions
Why do we use spark?
How do you make an rss feed?
What is data abstraction in dbms?
What is the method to check the inventory vars defined for the host?
• Why not 4 phase & 5 phase
How to find type of variable?
How many types of built in functions are there in sql server 2012?
Describe the disadvantage of cookies.
What is the difference between union and anonymous union?
why we use impulse line of flow transmitter at 45 deg. angle both side of orifice plate.
Explain the configuration section of a cobol program with examples of syntax.
Can properties be private in c#?
Who was the scientist behind the indian ballistic missile “ agni ”?
advantage and disadvantage in visual-basic and ms-access please tell me or send my mail-id
In tm, if group of employees get 10 days of annual leave, what will be the time evaluation status?