Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged usermod
0
votes
0
answers
91
GATE 2017
Consider the following C code: #include<stdio.h> int *assignval (int *x, int val) { *x = val; return x; } void main () { int *x = malloc(sizeof(int)); if (NULL == x) return; x = assignval (x,0); if (*x) { x = (int *)malloc( ... It is the same question https://gateoverflow.in/118293/gate2017-1-13 but i want to know that adding * in if condition will result in dangling pointer or not?
Consider the following C code:#include<stdio.h int *assignval (int *x, int val) { *x = val; return x; } void main () { int *x = malloc(sizeof(int)); if (NULL == x) return...
Mk Utkarsh
2.0k
views
Mk Utkarsh
asked
Dec 19, 2017
Programming in C
usergate2017
usermod
+
–
7
votes
1
answer
92
ISI-2017 MMA
Let $S \subseteq R$. Consider the statement: "There exists a continuous function $f:S \rightarrow S$ such that $f(x) \neq x$ for all $x$ belongs to $S$." This statement is false if $S$ equals $[2,3]$ $[2,3]$ $[-3,-2] \cup [2,3]$ $(-\infty \text{ to} +\infty)$
Let $S \subseteq R$. Consider the statement:"There exists a continuous function $f:S \rightarrow S$ such that $f(x) \neq x$ for all $x$ belongs to $S$."This statement is ...
shraddha priya
1.2k
views
shraddha priya
asked
Jun 12, 2017
Calculus
isifunctions
usermod
+
–
8
votes
2
answers
93
Gate-2006, CE
There are 25 calculators in a box. Two of them are defective. Suppose 5 calculators are randomly picked for inspection (i.e., each has the same chance of being selected), what is the probability that only one of the defective calculators will be included in the inspection? can we do it by both hypergeometric as well as by binomial distribution?
There are 25 calculators in a box. Two of them are defective. Suppose 5 calculators are randomly picked for inspection (i.e., each has the same chance of being selected),...
Prerna Chauhan
2.9k
views
Prerna Chauhan
asked
Jan 17, 2017
Probability
usergate2006-ce
probability
engineering-mathematics
usermod
+
–
Page:
« prev
1
2
3
4
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register