Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage
Programming in C.
Recursion.
Filter
Recent
Hot!
Most votes
Most answers
Most views
Previous GATE
Featured
Hot questions in Programming and DS
0
votes
0
answers
2381
GO pdf
If B[8] and B[8][8] are on LHS of assignment operator will they cause compilation problem Reference - Gate 2003 4.7.14 GO pdf
If B[8] and B[8][8] are on LHS of assignment operator will they cause compilation problemReference - Gate 2003 4.7.14 GO pdf
jatin khachane 1
525
views
jatin khachane 1
asked
Jul 26, 2018
1
votes
3
answers
2382
for loop
in c i found that for(i=1;i<6;i++) { printf("%d",i); } and for(i=1;i<6;++i) { printf("%d",i); } but the ++i and i++ are different in nature .then how it not affect for loop??please help me ..
in ci found that for(i=1;i<6;i++) { printf("%d",i); }and for(i=1;i<6;++i) { printf("%d",i); }but the ++i and i++ are different in natur...
Shijith M
586
views
Shijith M
asked
Jul 10, 2018
1
votes
0
answers
2383
Dennis Ritchie
Hi friends, In the following program when I am using '-' in the expression "ndigit[c - '0'];" I am getting correct result but wen I am using + then I am not getting the answer, am I missing something, please answer. #include <stdio.h> ... [c - '0']; } printf("digits="); for(i=0;i<10;i++) printf("%d",ndigit[i]); }
Hi friends, In the following program when I am using '-' in the expression "ndigit[c - '0'];" I am getting correct result but wen I am using + then I am not getting the ...
himanshu19
335
views
himanshu19
asked
Aug 4, 2018
1
votes
0
answers
2384
Number of Max Heap
How many max-heaps can be formed with the following elements? $\{1,1,1,2,2,2,3,3,3,4,4,4\}$
How many max-heaps can be formed with the following elements?$\{1,1,1,2,2,2,3,3,3,4,4,4\}$
Balaji Jegan
1.1k
views
Balaji Jegan
asked
Jun 4, 2018
DS
data-structures
combinatory
binary-heap
+
–
0
votes
1
answer
2385
AckerMann Function
Is there any shortcut to solve the AckerMann function ? e.g. I want to find the value of A(3,1) .https://en.wikipedia.org/wiki/Ackermann_function
Is there any shortcut to solve the AckerMann function ?e.g. I want to find the value of A(3,1).https://en.wikipedia.org/wiki/Ackermann_function
dragonball
846
views
dragonball
asked
Dec 14, 2017
Programming in C
data-structures
+
–
0
votes
0
answers
2386
Programming in c
Minimum number of temporary variables needed to swap two variables is?
Minimum number of temporary variables needed to swap two variables is?
Anshita Malviya
281
views
Anshita Malviya
asked
Aug 5, 2018
1
votes
2
answers
2387
Yashavant kanetkar understanding pointer in C, Chepter 1, Question 13.
13. What does the error "Null Pointer Assignment" mean and what causes this error?
13. What does the error "Null Pointer Assignment" mean and what causes this error?
ermp888
525
views
ermp888
asked
Jul 1, 2018
3
votes
1
answer
2388
What is meant by operator stack and operand stack?
What is Difference between them?
What is Difference between them?
hem chandra joshi
3.3k
views
hem chandra joshi
asked
Nov 1, 2017
Programming in C
data-structures
+
–
0
votes
1
answer
2389
Gate C Program question about format specification property
Consider a C Program situation like this, main() { float a=2.23564; printf("%d",a); } Then what will be the output?? please help me..
Consider a C Program situation like this, main() { float a=2.23564; printf("%d",a); }Then what will be the output??please help me..
Shijith M
822
views
Shijith M
asked
Jul 9, 2018
Programming in C
programming-in-c
+
–
0
votes
0
answers
2390
Stack and Queues
HeadShot
184
views
HeadShot
asked
Aug 11, 2018
19
votes
4
answers
2391
GATE CSE 2004 | Question: 5
The best data structure to check whether an arithmetic expression has balanced parentheses is a queue stack tree list
The best data structure to check whether an arithmetic expression has balanced parentheses is aqueuestacktreelist
Kathleen
7.1k
views
Kathleen
asked
Sep 18, 2014
DS
gatecse-2004
data-structures
easy
stack
+
–
0
votes
1
answer
2392
what will be the output??
CHïntän ÞäTël
378
views
CHïntän ÞäTël
asked
Jul 29, 2018
1
votes
0
answers
2393
Testbook test
am i right ??
am i right ??
jatin khachane 1
221
views
jatin khachane 1
asked
Aug 3, 2018
0
votes
1
answer
2394
self - doubt
how the get 3n/2 -2 comparision
how the get 3n/2 -2 comparision
bhavnakumrawat5
348
views
bhavnakumrawat5
asked
Jul 23, 2018
DS
array
+
–
0
votes
0
answers
2395
data structures
A ds is reqd. For storing a set of integers such that each of the following operations can be done in O (logN) time where N is the no. Of elements in the set Deletion of smallest element Insertion of an element if it is not already present in the set
A ds is reqd. For storing a set of integers such that each of the following operations can be done in O (logN) time where N is the no. Of elements in the setDeletion of s...
sarthak
313
views
sarthak
asked
Aug 4, 2018
1
votes
1
answer
2396
WHY IT'S COMPILER ERROR ??
CHïntän ÞäTël
194
views
CHïntän ÞäTël
asked
Jul 30, 2018
Programming in C
programming-in-c
+
–
0
votes
1
answer
2397
data structure
once_2019
219
views
once_2019
asked
Aug 4, 2018
Programming in C
data-structures
+
–
0
votes
0
answers
2398
Programming
Prince Sindhiya
166
views
Prince Sindhiya
asked
Aug 9, 2018
Programming in C
programming-in-c
+
–
0
votes
1
answer
2399
self-doubt
https://gateoverflow.in/39667/gate2016-1-10 in this question we are using array so both operations are taking constant only becz of in array random access is possible so dequeue will take O(1) .....??? Is this the reason for dequeue????
https://gateoverflow.in/39667/gate2016-1-10in this question we are using array so both operations are taking constant only becz of in array random access is possible so d...
eyeamgj
906
views
eyeamgj
asked
Jul 7, 2018
0
votes
1
answer
2400
programming
int *I ,j; I =&j; why it is valid since j has not been defined so no memory will be allocated to j and I is having the address of J so it must saw segmentation fault
int *I ,j;I =&j; why it is valid since j has not been defined so no memory will be allocated to j and I is having the address of J so it must saw segmentation fault
sajal singh
454
views
sajal singh
asked
Jul 28, 2018
Page:
« prev
1
...
115
116
117
118
119
120
121
122
123
124
125
...
310
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register