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
2 answers
183
0 votes
0 answers
187
column major order formula would bea+w*[(E3L2+E2)L1+E1] if i solve getting ans 1956 but given 1513 for 3d array. Please explain how
0 votes
1 answer
188
What will be the output of the following $\text{‘C’}$ program?void count(int n) { static int d = 1; printf(" %d", n); printf(" %d", d); d++; if (n>1) count (n - 1); p...
0 votes
1 answer
189
Consider the following $\text{C}$ function :int f(int n) { static int i = 1; if (n = 5) return n; n=n + i;i++; return f(n); }The value returned by $\text{f}(1)$ is :$5$$...
2 votes
1 answer
190
#include <stdio.h int main () { int i, j; int a [8] = {1, 2, 3, 4, 5, 6, 7, 8}; for(i = 0; i < 3; i++) { a[i] = a[i] + 1; i++; } i ; for (j = 7; j 4; j ) { int i = j/2; ...
0 votes
1 answer
191
Hi, can anyone please suggest me an online site where I can run code in C and test how the code will act under bid endian environment?
2 votes
3 answers
192
An array VAL[1..15][1..10] is stored in the memory with each element requiring 4 bytes of storage. If the base address of array VAL is 1500, determine the location of VAL...
0 votes
0 answers
193
0 votes
1 answer
195
what is the average-case time complexity for finding the height of the Binary tree.
0 votes
3 answers
196
0 votes
0 answers
198
#include<stdio.h>int r(){ static int num=9;return num ;}int main() { for(r();r();r()) {printf("%d%d",r(),r());};return 0;}Why is the output 6723 and not 7632?
1 votes
3 answers
200
#include <stdio.h>int f(int n){ static int r = 0; if (n <= 0) return 1; r=n; return f(n-1) + r;}int main() { printf("output is %d", f(5)); return 0;}Ou...