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 11260#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif }
1 4606Post New Vector India Interview Questions
Can the name of a view be same as the name of a hive table?
I post Optional Voucher in Tally.ERP in which there is deduction of TDS is applied. But when I convert this voucher as regular voucher the TDS entry have to make again why so
How did the Department determine the new total annual compensation requirement for highly compensated employees (HCEs)?
What are the options for configuring storage for process engine's checkpoint repository ?
what is the exact heat treatment cycle of IS 4522 Gr6 to get the required properties?
What are the Quantifiers in LINQ?
How to type outside of a table in word?
How do you fade a picture in powerpoint?
What are limited liability companies? What are its two types?
difference between primary ledger and secondary ledger in r12
How does the windows command interpreter (cmd.exe) parse scripts?
Explain some predefined exceptions.
What is the client concept in SAP? What is the meaning of client independent ?
What was first microsoft windows?
there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.