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 Aditya
1
votes
1
answer
1
No of BST ?
381
views
asked
Nov 6, 2015
DS
binary-search-tree
+
–
2
votes
1
answer
2
Please Confirm the answers
Match List-I with List-II and select the correct answer using the codes given below the list: List-I List-II A.Evaluation of infix 1. 1 operand stack B.Evaluation of postfix 2. 1 operator stack C.Evaluation of prefix 3. 1 operator queue CODES: A B C (a) 1 2 3 (b ... sum of elements on right side of root, then the value of $[(Rd)-(Ld)+Root]$ is _______. 1. D 2. 1289 3. 95
Match List-I with List-II and select the correct answer using the codes given below the list: List-IList-IIA.Evaluation of infix1. 1 operand stackB.Evaluation of postfix2...
423
views
asked
Nov 6, 2015
DS
programming
data-structures
+
–
5
votes
2
answers
3
Doubt Regarding String Constant
int main(void) { char *p = "arjun"; *(p+3) = 'a'; char arr[] = "arjun"; arr[3] = 'a'; printf("%c",arr[3]); printf("%c",*(p+3)); return 0; } I am trying to modify a string. It works fine when string is declared via array but it is giving runtime error when string is declared via pointer. Reason ??
int main(void) { char *p = "arjun"; *(p+3) = 'a'; char arr[] = "arjun"; arr[3] = 'a'; printf("%c",arr[3]); printf("%c",*(p+3)); return 0; }I am trying to modify a str...
696
views
asked
Sep 11, 2015
Programming in C
programming-in-c
+
–
7
votes
1
answer
4
Can Regular Grammar be ambiguous ?
8.9k
views
asked
Aug 6, 2015
Compiler Design
compiler-design
regular-grammar
ambiguous
+
–
1
votes
1
answer
5
Please post the DFA for the language.
What are the number of final states in minimal DFA, where $\Sigma = \{a,b\}$, if every string starts with "aa" and length of string is not congruent to 0 mod 4? 7 6 3 5
What are the number of final states in minimal DFA, where $\Sigma = \{a,b\}$, if every string starts with "aa" and length of string is not congruent to 0 mod 4?7635
2.0k
views
asked
Jul 30, 2015
Theory of Computation
minimal-state-automata
+
–
1
votes
2
answers
6
What does R represent here ?
Q). Let $A= (a+b)^*ab(a+b)^*,B=a^*b^*$ and $ C=(a+b)^*$ .Then the relation between $A,B$ and $C$ is: A). $A+B=C$ B). $A^R+ B^R =C$ C). $A^R +B=C$ D). None
Q). Let $A= (a+b)^*ab(a+b)^*,B=a^*b^*$ and $ C=(a+b)^*$ .Then the relation between $A,B$ and $C$ is:A). $A+B=C$B). $A^R+ B^R =C$C). $A^R +B=C$D). None
399
views
asked
Jul 30, 2015
0
votes
1
answer
7
Rice Theorem
1.2k
views
asked
Jul 24, 2015
1
votes
2
answers
8
Type of language ?
it will be accepted by NPDA. Right ??
it will be accepted by NPDA. Right ??
445
views
asked
Jul 23, 2015
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register