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 viewed questions in Programming

3 votes
2 answers
1681
#include<stdio.h #define decode(s,t,a,m,p,e,d)m s u t #define begin decode(a,n,i,m,a,t,e) int begin() { printf("hello"); }
0 votes
2 answers
1682
#include <stdio.h>int main(){ int a=9; printf("%d %d %d",++a,a++,++a); return 0;}what is the output?According to me it should be 12 10 10
3 votes
1 answer
1683
#include <stdio.h>int main(){ int i = 8; int p = i++*i++; printf("%d\n", p);}
0 votes
1 answer
1684
2 votes
0 answers
1685
1 votes
2 answers
1686
#include <stdio.h int x = 20; int f1() { x = x+10; return x;} int f2() { x = x-5; return x;} int main() { int p = f1() + f2(); printf ("p = %d", p); return 0; }
0 votes
0 answers
1687
Something wrong with the code or is it working fine ?
3 votes
1 answer
1689
Is call by address in C same to call by reference in C++? if not then whats basic difference ?? and why doesn't C have a refernce variable just like C++??
2 votes
3 answers
1690
0 votes
0 answers
1692
The number of different directed trees with 3 nodes areA) 3B) 4C) 5D) 6I think the answer is 5 but the answer is not.
0 votes
1 answer
1693
1 votes
3 answers
1694
How to perform string and char operation in programming ? Please explain and also provide the solution
0 votes
1 answer
1696
What will be the output of the following program#define abc(x,y) x*y void main() { int a=1, b=2; printf("%d", abc(a+1, b-2)); }A) 0B) 1C) 2D) 3
2 votes
2 answers
1697
0 votes
1 answer
1698
1 votes
2 answers
1699
please help how it could be 8 i am getting 1 ???Answer given is 8int main() { char *str=”Gate2017”; printf(“%d”, function( str )); return 0; } int function(char *...