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
Questions by IgnitorSandeep
0
votes
2
answers
1
What is the criteria for distinguishing data structure in terms of linear and non-linear ?
What is the criteria for distinguishing data structure in terms of linear and non-linear ? I am bit confused with the criteria for this. I have search and tried to clear this confusion but then i got more ... categorizing on the basis of storage in the memory and some place it is on the basis of traversal.
What is the criteria for distinguishing data structure in terms of linear and non-linear ?I am bit confused with the criteria for this. I have search and tried to clear t...
875
views
asked
Oct 10, 2015
DS
data-structures
+
–
2
votes
1
answer
2
What is the output of the program ?
int main(){ char *ptr = "gateexam"; printf("%c\n", *&*&*ptr); return 0; } (a) Compiler Error (b) Garbage Value (c) Runtime Error (d) g *please explain it.
int main(){ char *ptr = "gateexam"; printf("%c\n", *&*&*ptr); return 0; }(a) Compiler Error(b) Garbage Value(c) Runtime Error(d) g*please explain it.
488
views
asked
Oct 5, 2015
Programming in C
programming-in-c
+
–
4
votes
3
answers
3
Let a, b be two positive integers, which of the following options correctly relates / and %?
Let a, b be two positive integers, which of the following options correctly relates / and %? (a) b= (a/b) * b + a%b (b) b= (a%b) * b + a/b (c) a= (a/b) * b + a%b (d) a= (a%b) * b + a/b * I am getting answer as c but the answer given is b. Please tell me which one is correct.
Let a, b be two positive integers, which of the following options correctly relates / and %?(a) b= (a/b) * b + a%b(b) b= (a%b) * b + a/b(c) a= (a/b) * b + a%b(d) a= (a%b)...
6.5k
views
asked
Oct 5, 2015
Programming in C
programming
programming-in-c
+
–
0
votes
1
answer
4
What is the no. of nodes in the tree that has exactly one child?
In a binary tree with n nodes every node has an odd no. of descendants. Every node is considered to be its own descendant. What is the no. of nodes in the tree that has exactly one child? (a) 0 (b) 1 (c) (n-1)/ 2 (d) n-1
In a binary tree with n nodes every node has an odd no. of descendants. Every node is considered to be its own descendant. What is the no. of nodes in the tree that has e...
1.4k
views
asked
Sep 28, 2015
Programming in C
data-structures
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register