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
Answers by Salman
66
votes
1
GATE IT 2006 | Question: 49
Which one of the choices given below would be printed when the following program is executed ? #include <stdio.h> struct test { int i; char *c; }st[] = {5, "become", 4, "better", 6, "jungle", 8, "ancestor", 7, " ... $\text{etter, u, 6, ungle}$ $\text{cetter, k, 6, jungle}$ $\text{etter, u, 8, ncestor}$
Which one of the choices given below would be printed when the following program is executed ?#include <stdio.h struct test { int i; char *c; }st[] = {5, "become", 4, "be...
27.3k
views
answered
Jan 24, 2016
Programming in C
gateit-2006
programming
programming-in-c
normal
structure
+
–
66
votes
2
GATE CSE 2015 Set 3 | Question: 26
Consider the following C program #include<stdio.h> int main() { static int a[] = {10, 20, 30, 40, 50}; static int *p[] = {a, a+3, a+4, a+1, a+2}; int **ptr = p; ptr++; printf("%d%d", ptr-p, **ptr); } The output of the program is _______.
Consider the following C program#include<stdio.h int main() { static int a[] = {10, 20, 30, 40, 50}; static int *p[] = {a, a+3, a+4, a+1, a+2}; int ptr = p; ptr++; print...
22.8k
views
answered
Jan 23, 2016
Programming in C
gatecse-2015-set3
programming
programming-in-c
normal
numerical-answers
pointers
+
–
3
votes
3
idea of this passage
330
views
answered
Jan 10, 2016
Verbal Aptitude
verbal-aptitude
+
–
0
votes
4
Edge type in Undirected Graphs on Depth First Tree
Assume WHITE vertices that are yet to be discovered, BLACK vertices are finished vertices and GRAY vertices are frontier betweeen WHITE and BLACK in Depth First Search. Now, What are the various edge types like TREE-EDGE and BACK-EDGE possible between ... edge type between WHITE and GRAY type vertices. [ CLRS (3rd Edition) : 22-3:1; Page # 610 ]
Assume WHITE vertices that are yet to be discovered, BLACK vertices are finished vertices and GRAY vertices are frontier betweeen WHITE and BLACK in Depth First Search.No...
589
views
answered
Oct 22, 2015
Algorithms
graph-algorithms
depth-first-search
+
–
0
votes
5
logic
Translate each of these statements into logical expressions using predicates, quantifiers, and logical connectives. a) No one is perfect. b) Not everyone is perfect. c) All your friends are perfect. d) At least one of your friends is perfect.
Translate each of these statements into logical expressionsusing predicates, quantifiers, and logical connectives.a) No one is perfect.b) Not everyone is perfect.c) All y...
12.3k
views
answered
Sep 2, 2015
8
votes
6
GATE CSE 1993 | Question: 18
Show that proposition $C$ is a logical consequence of the formula$A\wedge \left(A \to \left(B \vee C\right)\right) \wedge \left( B \to \neg A\right)$using truth tables.
Show that proposition $C$ is a logical consequence of the formula$$A\wedge \left(A \to \left(B \vee C\right)\right) \wedge \left( B \to \neg A\right)$$using truth tables....
3.3k
views
answered
Sep 1, 2015
Mathematical Logic
gate1993
mathematical-logic
normal
propositional-logic
proof
descriptive
+
–
0
votes
7
maths_mocktest1_12
A. 1 B. 2 C. 3 D. 4
A. 1B. 2C. 3D. 4
874
views
answered
Aug 6, 2015
Calculus
calculus
+
–
0
votes
8
limit
limx->0 (cot x)1/logx ? ans: 0(m getting 1/e)
limx->0 (cot x)1/logx ?ans: 0(m getting 1/e)
3.3k
views
answered
Aug 5, 2015
4
votes
9
calculate limit
$\lim_{x\rightarrow \infty }\left(4^{x}+5^{x}\right)^{1/x}$
$\lim_{x\rightarrow \infty }\left(4^{x}+5^{x}\right)^{1/x}$
889
views
answered
Aug 4, 2015
Calculus
calculus
limits
+
–
3
votes
10
calculate limit
$\lim_{x\rightarrow \frac{\pi}{2}}{( \sin x)}^{\tan x}$
$\lim_{x\rightarrow \frac{\pi}{2}}{( \sin x)}^{\tan x}$
783
views
answered
Aug 3, 2015
Calculus
calculus
limits
+
–
3
votes
11
calculate limit
$\lim_{x\rightarrow \frac{\pi}{4}} (\tan x)^{\tan 2x}$
$\lim_{x\rightarrow \frac{\pi}{4}} (\tan x)^{\tan 2x}$
415
views
answered
Aug 3, 2015
Calculus
calculus
limits
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register