Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Mayankprakash
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by Mayankprakash
1
votes
0
answers
31
Order of growth
1.What is exact difference between order of growth of the function and asymptomatic growth of the functions? Please suggest on above point.
1.What is exact difference between order of growth of the function and asymptomatic growth of the functions?Please suggest on above point.
339
views
asked
Sep 7, 2018
Algorithms
algorithms
asymptotic-notation
+
–
1
votes
1
answer
32
Programming in c
Please suggest on below 2 points . I'm not able to understand those 2 points. Char s[100]; 1.What is difference between scanf("%s",s) and scanf("%[^\n]s",s)? 2.how below two codes are same Code 1 Getchar(); Scanf("%[^\n]s",s); Code 2 Scanf("%*[\n] %[^\n]",s); Thanks
Please suggest on below 2 points .I'm not able to understand those 2 points.Char s[100];1.What is difference between scanf("%s",s) and scanf("%[^\n]s",s)?2.how below two ...
491
views
asked
Aug 30, 2018
Programming in C
programming-in-c
output
+
–
1
votes
1
answer
33
Token
No of token? $a b c d + y{^3}+(2-5+x$ $6/2$--;$ Please suggest how to count token in this type of questions?
No of token?$a b c d + y{^3}+(2-5+x$ $6/2$$ ;$Please suggest how to count token in this type of questions?
499
views
asked
Aug 9, 2018
Compiler Design
compiler-design
compiler-tokenization
+
–
0
votes
2
answers
34
Regular language
A^n | n>=1 In this language 'n' is unbounded so I want to understand why it comes under finite automata as language is infinite. As finite automata has finite memory. Please suggest Thanks Mayank
A^n | n>=1In this language 'n' is unbounded so I want to understand why it comes under finite automata as language is infinite.As finite automata has finite memory.Please...
545
views
asked
Jul 17, 2018
Theory of Computation
regular-language
+
–
2
votes
1
answer
35
Switch
case : 'AB' is it valid to write multiple characters in single quotes? And if valid does ASCII value of a& b gets added and stored as integral constant? Thanks
case : 'AB' is it valid to write multiple characters in single quotes?And if valid does ASCII value of a& b gets added and stored as integral constant?Thanks
542
views
asked
Jul 15, 2018
0
votes
1
answer
36
Define keyword
Float pi = 3.14 #define pi 3.14 Why constant declaration with define is considered to be fast than above one? Thanks
Float pi = 3.14#define pi 3.14Why constant declaration with define is considered to be fast than above one?Thanks
332
views
asked
Jul 15, 2018
Programming in C
macros
+
–
0
votes
0
answers
37
Data type size
My doubt is very basic, I want to understand what is the use of signed and unsigned used with integer.? 2.what does size of signed int (-128 to 127) signify? 3how to big endian and little endian output problem in C.? Please suggest Thanks
My doubt is very basic, I want to understand what is the use of signed and unsigned used with integer.?2.what does size of signed int (-128 to 127) signify?3how to big en...
209
views
asked
Jul 15, 2018
Programming in C
datatype
+
–
0
votes
1
answer
38
Finite automata
1.How to identify the reachable state in NFA or DFA.
1.How to identify the reachable state in NFA or DFA.
246
views
asked
Jul 14, 2018
Theory of Computation
finite-automata
+
–
1
votes
1
answer
39
Time Complexity for Log rquestions
void fun() { int i, j; for (i=1; i<=n; i++) for (j=1; j<=log(i); j++) printf("GeeksforGeeks"); } Soln--> thetha(nlogn) Anyone please explain me in detail how to solve log series problems and what are the prerequisites to solve log problems.As i get Stuck in log problems.Please Help! Thanks
void fun() { int i, j; for (i=1; i<=n; i++) for (j=1; j<=log(i); j++) printf("GeeksforGeeks"); }Soln thetha(nlogn) Anyone please explain me in detail how to solve log se...
1.5k
views
asked
Jul 13, 2018
Algorithms
time-complexity
algorithms
+
–
0
votes
1
answer
40
Gate practice
Anyone can please let me know from where to practice questions of each subject other than Go pdf and previous year paper. Thanks
Anyone can please let me know from where to practice questions of each subject other than Go pdf and previous year paper.Thanks
634
views
asked
Jul 9, 2018
Study Resources
gate-preparation
practice
+
–
3
votes
2
answers
41
Multidimensional Pointer Arithmetic
int main() { char arr[5][7][6]; char (*p)[5][7][6] = &arr; /* Hint: &arr - is of type const pointer to an array of 5 two dimensional arrays of size [7][6] */ printf("%d\n", (& ... 42 210 Questn) Can anyone please explain how output is calculated in all the printf statements and what difference 'unsigned' is making to the output.
int main(){ char arr[5][7][6]; char (*p)[5][7][6] = &arr; /* Hint: &arr - is of type const pointer to an array of 5 two dimensional arrays of size [7][6] ...
1.7k
views
asked
Jun 19, 2018
Programming in C
programming-in-c
array
+
–
Page:
« prev
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register