Webpage

Programming in C. Recursion.

$$\scriptsize{\overset{{\large{\textbf{Mark Distribution in Previous GATE}}}}{\begin{array}{|c|c|c|c|c|c|c|c|}\hline
\textbf{Year} &\textbf{2024-1}&\textbf{2024-2}&\textbf{2023}& \textbf{2022}&\textbf{2021-1}&\textbf{2021-2}&\textbf{Minimum}&\textbf{Average}&\textbf{Maximum}
\\\hline\textbf{1 Mark Count} & 2&2&1&1 &0&2&0&1.33&2
\\\hline\textbf{2 Marks Count} &1&1&0& 2&2&2&0&1.33&2
\\\hline\textbf{Total Marks} &4&4&1& 5&4&6&\bf{1}&\bf{4}&\bf{6}\\\hline
\end{array}}}$$

Recent questions in Programming

#901
666
views
1 answers
0 votes
The Following code has output `Gate2019`#include <stdio.h> char* fun(){ char* temp = "Gate2019"; return temp; } int main(void) { // your code goes here puts(fun()); return 0; }
#902
272
views
0 answers
0 votes
Is it necessary to declare a function in a function we are calling it from or we can declare the function while defining it? I have seen programs in which we do not declare functions. Like the below one.
#903
357
views
0 answers
0 votes
Can we declare a variable in main() which we will be using in another function? And why?
#904
2.8k
views
1 answers
0 votes
In a lower triangular matrices (size 15 x 15) representation of compact singledimensional array, non-zero elements (i.e. elements of the lower triangle) ... Note: Only lower triangular elements of the matrix are stored in contiguous array]
#905
636
views
1 answers
0 votes
If we are taking character as input then how we can check the character against a a range of numbers. Please explain
#906
356
views
0 answers
1 votes
i, j; int;void P(x:int){printf(x+10);i=10;j=20;printf(x);}void main(){i=50;j=60;P(i+j);} o/p =call by name=call by text=call by need=
#907
745
views
1 answers
1 votes
how the answer is 23699?For column major order I get answer as 80039.Even if i go by row major order the answer I get is 23599
#908
374
views
1 answers
1 votes
i am unable to understand how this extern int data type actually works hereplease help me to understand it??
#909
126
views
1 answers
0 votes
Derive complexity of insertion sort
#910
317
views
1 answers
0 votes
question has something wrong or is any logic i dont know please verify??
#911
209
views
0 answers
0 votes
here in this programe i am getting confused in part2() here it is *x or x..........becz answere given using static scoping is 165 165 303
#912
332
views
0 answers
0 votes
https://gateoverflow.in/66063/structures-and-pointersON COMPILING THE GIVEN PROGRAM OUTPUT IS 00(NULL) IS IT CORRECT BECZ EXPLAINATION SAYS SOMETHING ELSE AND IF TAKINH ... INSIDE MAIN THEN NO GARBAGEVALUE IS COMING 00(NULL) IS SAME.....
#913
406
views
0 answers
0 votes
What's the error in the following code? My output is always coming as printf("enter 1 to create a list\n"); printf("enter 2 to display the list\n"); ... } } while(option!=1||option!=2||option!=3); return 0; }
#914
249
views
1 answers
1 votes
Explain the outputMain(){ char *s= "%d\n"; s++; s++; printf(s-2,300);}
#915
162
views
0 answers
0 votes
In a C++ system, a(n) ________ program executes before the compiler's translation phase begins.
#916
1.4k
views
1 answers
0 votes
The ________ program combines the output of the compiler with various library functions to produce an executable image.
#917
234
views
0 answers
1 votes
We must not take the hash table size 'm' to be powers of 2. Because it would mean that the index would depend only on the least significant k bits of the key k ... must also be avoided. What's the problem with taking 2^k-1 as the m value?
#918
233
views
0 answers
0 votes
Is it necessary to write #include at the begining of C program? If is not ? Why ?
#919
521
views
0 answers
0 votes
#include <stdio.h>int main(){ int i = 3; printf("%d", (++i)++); return 0;}Why does the above code is giving error?
#920
327
views
0 answers
0 votes