Question 1
Question 2
Question 4
Question 5
main() { char g[] = "geeksforgeeks"; printf("%s", g + g[6] - g[8]); }
Question 6
Question 7
Question 8
while (true) // infinite condition { A :____; printf("%d", 1); printf("%d", 1); B:____; }P2 code:
while (true) // infinite condition { C:____; printf("%d", 0); printf("%d", 0); D:____; }What should be the binary semaphore operation on A,B,C,D respectively and what must be the intial values of semaphore M,N inorder to get the output 110011001100....? Where P is down and V is up operation respectively.
Question 10
There are 10 questions to complete.