Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by milankamilya
16
answers
1
GATE CSE 2012 | Question: 33
Suppose a fair six-sided die is rolled once. If the value on the die is $1, 2,$ or $3,$ the die is rolled a second time. What is the probability that the sum total of values that turn up is at least $6$ ? $\dfrac{10}{21}$ $\dfrac{5}{12}$ $\dfrac{2}{3}$ $\dfrac{1}{6}$
Suppose a fair six-sided die is rolled once. If the value on the die is $1, 2,$ or $3,$ the die is rolled a second time. What is the probability that the sum total of val...
22.1k
views
commented
May 9, 2017
Probability
gatecse-2012
probability
conditional-probability
normal
+
–
8
answers
2
ISRO2015-69
If n has 3, then the statement a[++n]=n++; assigns 3 to a[5] assigns 4 to a[5] assigns 4 to a[4] what is assigned is compiler dependent
If n has 3, then the statement a[++n]=n++;assigns 3 to a[5]assigns 4 to a[5]assigns 4 to a[4]what is assigned is compiler dependent
8.6k
views
asked
Jun 14, 2016
Programming in C
isro2015
programming-in-c
non-gate
undefined-behaviour
+
–
2
answers
3
Explain what the output will be at line A.
#include <sys/types.h> #include <stdio.h> #include <unistd.h> int value =5; int main( ) { pid_t pid; pid=fork( ); if (pid == 0) { /* child process */ value +=15; return 0; } else if (pid > 0) { /*parent process */ wait(NULL); printf(“PARENT: value=%d”, value); /* LINE A */ return 0; } } What output will be at Line A?
#include <sys/types.h #include <stdio.h #include <unistd.h int value =5; int main( ) { pid_t pid; pid=fork( ); if (pid == 0) { /* child process */ value +=15; return 0; }...
5.9k
views
asked
May 24, 2016
Operating System
process
inter-process-communication
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register