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
82
Can an array store elements of different storage classes?
0 votes
0 answers
84
#includeint main(){ int x;char *ptr;x=622,100,101;printf("%d",(*(char *)&x)*(x%3));return 0; }In this question what is the meaning of “ *(char *)&x “ ? please ...
0 votes
0 answers
85
1 votes
2 answers
86
#include<stdio.h void dynamic(int s, ...) { printf("%d ", s); } int main() { dynamic(2, 4, 6, 8); dynamic(3, 6, 9); return 0; }
4 votes
1 answer
88
#include<stdio.h #include<string.h #define MAX(x, y) ((x) (y) ? (x) : (y)) int main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i, j, k); return ...
1 votes
2 answers
89
char st[] = {‘G’,’A’,’T’,’E’,’\0’};then string ka length 4 hoga ya 5 with null character?
0 votes
0 answers
90
Caption@sachinmittal1 sir here answer should be B na because Arr point s to the 0th index of 2nd 1D-array so it means pointing to address of arr [0] so address size woul...
3 votes
3 answers
91
#include<stdio.h void print(int n) { printf("Hello "); if(n++ == 0) return ; print(n); n++; } int main() { void print(); print(-4); }How many times printf execute?? And H...
0 votes
1 answer
92
#include<stdio.h>void print(int n){ printf("Hello "); if(n++ == 0) return ; print(n); n++;}int main(){ void print(); print(-4);}
0 votes
1 answer
93
The total number of binary trees possible with height n - 2 having n nodes are?(2n - 5)^ 2n - 3 (2n - 7)^2n - 3(n - 3) ^2n - 2(2n - 7)^ 2n - 2
0 votes
1 answer
94
We have stored an element after a few elements in an array, where the array size is unknown, then find the position of in array.
2 votes
2 answers
97
Why can’t we do pointer initialization as int *p; *p=x; instead of p = &x; ?
4 votes
1 answer
98
3 votes
1 answer
99
Please explain this question void main() { int a =300; char *ptr = (char*) &a ; ptr++; *ptr=2; printf("%d" , a); }