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 4120main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 8805main() { 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 9667#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }
1 3752Post New Vector India Interview Questions
Detail about the architecture of the web sphere?
Will react hooks replace redux?
Which are the ways of achieving concurrency in ios?
After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?
What all things can you automate?
when should one generally use the post method instead of the get method? : Adobe flash
Why are there so many genera in the family Compositae (Asteraceae)?
Define rip?
What’s the major difference between a restart and a graceful restart of a web server such as apache?
Explain the difference between load-time dynamic linking and run-time dynamic linking?
what is difference between class template and template class?
How to split cell in excel shortcut?
What applications use python?
1. Tell us about a specific time when you became frustrated in an administrative role and how you resolved your frustration. 2.How do you envision your role in relation to the role of your principal? Describe your vision of a functional administrative team.
What are the business benefits involved in cloud architecture?