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{2022}&\textbf{2021-1}&\textbf{2021-2}&\textbf{2020}&\textbf{2019}&\textbf{2018}&\textbf{2017-1}&\textbf{2017-2}&\textbf{2016-1}&\textbf{2016-2}&\textbf{Minimum}&\textbf{Average}&\textbf{Maximum}
\\\hline\textbf{1 Mark Count} & 1 &0&2&1&2&2&1&2&2&1&0&1.4&2
\\\hline\textbf{2 Marks Count} & 2&2&2&1&3&3&4&4&2&2&1&2.5&4
\\\hline\textbf{Total Marks} & 5&4&6&3&8&8&9&10&6&5&\bf{4}&\bf{6.4}&\bf{10}\\\hline
\end{array}}}$$

Most answered questions in Programming

0 votes
0 answers
3511
T(n) =$\log$n + T($\sqrt{n}$)How to solve this?
0 votes
0 answers
3514
The output of below code is_______________. int main() { int i = 120; int *a = &i; foo(&a); printf("%d ", *a); printf("%d ", *a); } void foo(int const a) { int j = 210; ...
2 votes
0 answers
3518
0 votes
0 answers
3519
A programming language not supporting either recursion or pointer type does not need the support of dynamic memory allocation ?
2 votes
0 answers
3520
1 votes
0 answers
3521
How to evaluate prefix notation left to right using two stack
0 votes
0 answers
3523
void bubblesort(int a[],int n){int i , j;for(i=0;i<n;i++)for(j=0;j<n-1-i;j++)if(a[j]>a[j+1]){temp = a[j];a[j]=a[j+1];a[j+1]=temp;}}if we give array of 5 elemennts 90,10,...
–1 votes
0 answers
3524
0 votes
0 answers
3526
0 votes
0 answers
3527
Here first if condition is assigning value of 1 to every array element and doing minus right?? Then every array value will be zero right?
3 votes
0 answers
3528
What is the function of x and n computed by the below code segmentint myprog(int x,int n) { int val=1; if(n>0){ if((n%2)==1) val=val*x; val=val*myprog(x*x,n/2); } return ...
0 votes
0 answers
3529
If variable can take any integral values from $0$ to $n$, where $n$ is a constant integer, then the variable can be represented as a bits field whose width is the integra...
4 votes
0 answers
3530
What is the output of the following code snippetchar ptr[]="Gateoverflow.in"; char qtr[]="GATE"; int i=0; for(;ptr[i++]=qtr[i++];); printf("%s\n",ptr);