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

5 votes
4 answers
121
Which of the following programming language(s) provides garbage collection automaticallyLispC++FortanC
0 votes
4 answers
122
0 votes
4 answers
125
int main(){ int n=1,sum =0; while(n<=10){ sum += n++*n++; } printf("Sum = %d\n",sum); return 0 }ans is 165 . i got 190.please explain??
4 votes
4 answers
126
4 votes
4 answers
128
Which of the following has the compilation error in C?int n = 17;char c = 99;float f = (float)99.32;#include <stdio.h>
0 votes
4 answers
129
int main() { int a; char *x; x = (char *) &a; a = 512; x[0] = 1; x = 2; printf("%d\n",a); return 0; }output?A. M/C dependentB. 513C. 258D. compiler error
0 votes
4 answers
130
Find output #include<stdio.h void main() { int i=0; for(; i++ ; printf("%d",i)); printf("%d",i); }Plz explain ?
1 votes
4 answers
131
0 votes
4 answers
134
int foo(unsigned int n) { int c,x=0; while(n!=0) { if(n&01) x++; n>>=1; } return c; }
1 votes
4 answers
135
int i = 1; int main() { int a[]= { 0,1, 2} ; f(a[i], i); printf("%d", a[i]); } void f(int x, int y) { y++; x=5*i; }In above function f() uses " call by name" technique, w...
30 votes
4 answers
138