Log In

Recent posts tagged coap

Answer: (B) Bind: Binds the socket to an address Listen: Waits for connections to the socket Accept: Accepts a connection to the socket Recv: Receives data from connection From Man page of accept: It extracts the first connection request on the queue of ... descriptor referring to that socket. The newly created socket is not in the listening state. The original socket is unaffected by this call
posted May 24, 2019 in Others gmrishikumar 322 views
Option is D. $foo$ is printing the lowest digit. But the $printf$ inside it is after the recursive call. This forces the output to be in reverse order $2, 0, 4, 8$ The final value $sum$ printed will be $0$ as $C$ uses pass by value and hence the modified value inside $foo$ won't be visible inside $main$.
posted Apr 8, 2019 in Preparation Advice Akash Mishra 989 views
The no of vertices in a graph containing 21 edges, 3 vertices of degree 4 and other vertices of degree 3 are: a) 10 b) 13 c) 11 d) None Sum of degrees of vertices= 2*no of edges Let no of vertices=n 4*3+(n-3)*3= 42 n=13 But answer is given as 10..Plz explain how the answer is 10
posted Jun 16, 2018 in Interview Experience cmkmanwani 2,157 views
To see more, click for the full list of questions or popular tags.