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

2 votes
0 answers
1481
2 votes
0 answers
1482
1 votes
0 answers
1483
2 votes
1 answer
1484
#include<stdio.h int calculate(int n) { int count=0; while(n!=0){ n=(n&(n<<1)); count++ } return count; }output for calculate(143)
1 votes
0 answers
1485
1 votes
0 answers
1486
Why is it from -6 to +8? How to solve such qns. Help :)
1 votes
0 answers
1487
#include<stdio.h>int main(){char arr[5][7][6];char *p[5][7][6];printf("%d\t", (unsigned)(arr+1)-(unsigned)arr);printf("%d", (unsigned)(p+1)-(unsigned)p);}
1 votes
0 answers
1489
2 votes
0 answers
1490
i think solution is wrong option b is correct dont need solution just confirm if i m right.
2 votes
1 answer
1491
Let A be an array with 5 rows and 10 columns. Assume base address is 100 and each element requires 4 bytes. Find the address of A [4,9], if array is stored in row major o...
2 votes
1 answer
1492
#include<stdio.h>void main(){printf("Hello\b\b\b\b\b");printf("Hi!\b\b\bBye");}
1 votes
1 answer
1493
void main() { int *x; x =f();printf("%d", *x); }int *f() { int y = 7 ; return &y; }
2 votes
0 answers
1495
Void fun(){int i=0;Printf("%d", i);Static in j=12; // this is error to declare here right?????J=j+1;}
3 votes
1 answer
1496
0 votes
0 answers
1498
main(){register int i = 10; int *a= &i;printf("%d",*a);return 0 ;}why writing program like this is no good , i studied that it is compiler dependent it will run or not ...
1 votes
0 answers
1499
Consider below code My ans : mech,g,mech Given ans : mech,g,civilthird printf statement is somwhat confusing ..please explain
1 votes
0 answers
1500
foo(int n, int a[]) { int i=0,j=0; for(i=0;i<=n;i++) while (j<n && A[i]<A[j]) j++; }Time complexity of foo()