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

12 votes
3 answers
201
1 votes
3 answers
202
Which operator has higher priority between *and / in any expression how to evaluate them
2 votes
3 answers
203
1 votes
3 answers
204
What is the output of the program:extern int a;main(){ extern int a; printf(a);}
0 votes
3 answers
205
Given a 3D array A[2:8,-4:1,6:10] stored in a row major order, if the base address is 200 and size of an element is 4 byte, what is the address of A[5][-2][8]? I AM GETTI...
0 votes
3 answers
206
0 votes
3 answers
207
what is the output of printf("%d",printf("gate19")?
3 votes
3 answers
208
#include <stdio.h int main() { static int i=5; if( i) { main(); printf("%d ",i); } }
0 votes
3 answers
209
Int A[3]={0,1,2}A++; For this code snippet un C will there be a compilation error,if yes then please explain a bit.
0 votes
3 answers
210
How many times will the loop execute?What is the general expression in terms of 'n'?for( i=1; i<=n; i=i*3) { for( j=i; j<=n; j++) { printf ...
1 votes
3 answers
211
in ci found that for(i=1;i<6;i++) { printf("%d",i); }and for(i=1;i<6;++i) { printf("%d",i); }but the ++i and i++ are different in natur...
1 votes
3 answers
212
main(){int i, x=5, y=10;for(i=1;i<=2;i++){y+=f(x) + g(x);printf("%d", y);}}f(int x){int y;y=g(x);return (x+y);}g(int x){static int y=5;y=y+7;return (x+y);} Kindly explain...
0 votes
3 answers
213
if x=y=z=-1then the values of x,y,z after++x && ++y ||++z is shown as x=0,y=-1, and z=0 Please explain the reason behind this as I am not getting the reason of z=0.
2 votes
3 answers
214
4 votes
3 answers
218
#include<stdio.h int main() { int a = 12; void *ptr = (int *)&a; printf("%d", *ptr); getchar(); return 0; }A12BCompiler ErrorCRunt Time ErrorD0
0 votes
3 answers
219
main ( ) { int a = 2, b, c; a* = b = c = 4; a = b = c; printf(“%d”, a); a = = (b = c); printf(“%d”, a); } What will be the output? And How.$1, 4$$4, 4$$1, 1$$ 8, ...