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

1 votes
1 answer
1501
void main() { int *x; x =f();printf("%d", *x); }int *f() { int y = 7 ; return &y; }
2 votes
0 answers
1503
Void fun(){int i=0;Printf("%d", i);Static in j=12; // this is error to declare here right?????J=j+1;}
3 votes
1 answer
1504
0 votes
0 answers
1506
main(){register int i = 10; int *a= &i;printf("%d",*a);return 0 ;}why writing program like this is no good , i studied that it is compiler dependent it will run or not ...
1 votes
0 answers
1507
Consider below code My ans : mech,g,mech Given ans : mech,g,civilthird printf statement is somwhat confusing ..please explain
1 votes
0 answers
1508
foo(int n, int a[]) { int i=0,j=0; for(i=0;i<=n;i++) while (j<n && A[i]<A[j]) j++; }Time complexity of foo()
1 votes
0 answers
1509
1 votes
0 answers
1510
How many enqueue and dequeue operations are required to perform a pop operation if Q1 contains n elements initially?
3 votes
0 answers
1511
Consider the following program along with push and pop operations on stack which can contain atmost The decimal value equivalent to the binary number printed by above cod...
1 votes
0 answers
1513
Why here implementation A is wrong.I feel it is correct.
2 votes
0 answers
1514
Consider the following code:The output for the above code is ______.
2 votes
0 answers
1516
3 votes
0 answers
1517
#include<stdio.h extern int i; int main() { printf( "%d" , i); } int i;What will be the order of execution of this code (line by line)?
2 votes
2 answers
1518
extern int i; int i = 10; i = 5; int main() { printf("%d", i); return 0; }The output for the above code is _______
6 votes
3 answers
1519
39 ) Suppose a multidimensional array is declared as m(2:8,-4:1,6:10). If the base address is 200 and there are 4 words per memory location, then the address of A[5,-1,8]...