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}}}$$

Recent questions in Programming

1 votes
1 answer
3061
#include <stdio.h int main() { short int a[10]; int i=0; for(i=0;i<10;i++) a[i] = 300 + i; char *c = (char*)a; printf("%d\n", *(c+4)); int *n = (int*)a; printf("%d\n",*(n...
4 votes
2 answers
3063
a[-25.....+25, -25......+25], Base address=0 and size of element = 100 bytesFind the location of a[20][22] ?Also Matrix is upper triangular matrix with row major order
2 votes
5 answers
3070
7 votes
2 answers
3072
The value returned by the following function for foo(10) is ____int foo(int x) { if(x < 1) return 1; int sum = 0; for(int i = 1; i <= x; i++) { sum += foo(x-i); } return ...
7 votes
4 answers
3073
3 votes
4 answers
3075
7 votes
2 answers
3078
What will be the outout of the following code?#include <stdio.h int main() { int a = 1, b = 2; int c = a++ || b++; printf("%d %d %d", a, b, c); }1 2 12 3 12 2 12 2 0
5 votes
4 answers
3079