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 4117main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 8802main() { 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 9664#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 3750Post New Vector India Interview Questions
Mention the steps involved in the execution of a program.
What does tds stand for in texting?
What are Broadcast Variables?
Define denormalization.
Explain what is the JSF architecture?
Abstract class and interface, multiple inheritance, live example
You wan to make a user/ vendor a valid part of srm. How will you do that? Does this need anything particular to be done?
How many pages can a wordpress site have?
I have been interview in next week my posting is accounts officer i have be manage with AP,AR,BRS and GL what Books i have read.
What are on-page and off-page optimization?
How can you spill the reducers?
Explain why does dna twist?
What is difference among Any, All and Contains?
What is anagram of a string?
Can you tell me range of byte?