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 viewed questions in Programming

4 votes
2 answers
1381
7 votes
3 answers
1382
What is the output of the following program?#include<stdio.h int main() { int array[]={10, 20, 30, 40}; printf(“%d”, -2[array]); return 0; }$-60$$-30$$60$Garbage valu...
0 votes
1 answer
1383
1 votes
1 answer
1384
All functions have file scope. Thus, you cannot define a function within a function. This is why C is not technically a block-structured language.Explain pls ?
0 votes
1 answer
1385
2 votes
1 answer
1386
main( ){char ch = 200 ;printf ( "\n%d", ch ) ;}
0 votes
1 answer
1387
int total(int v) {static int count = 0;while(v) {count += v&1;v >>= 1;}return count;}// input = 5. Why is the while loop running only one time.Shoudnt it run 3 times?
0 votes
1 answer
1389
Predict the output of following code segment: #include<iostream.h Void main ( ) { int x { } = {1,2,3,4,5}; int *p, q,*t; p=x; cout<<*p; t=x+2; q=&t; cout<<*++p << q << q ...
5 votes
3 answers
1390
#includeint main( ){int x=5, y=9;x=(x= x+y)-(y= x-y);printf("%d %d ", x, y);return 0;} A. 9 5B. 5 14C. 14 5D. 5 9
3 votes
0 answers
1391
The sum of all values printed by Rec (6) is _______.
0 votes
1 answer
1392
Consider the following codeWhat is the output printed by the above code in terms of n?How it is coming b??
2 votes
2 answers
1395
#include<stdio.h #include<stdlib.h int main() { struct xx { int x; char s; }; struct xx *t; t->x=5; t->s='a'; printf("%d %c\n", t->x, t->s); }
0 votes
1 answer
1396
int main(){int a = 10;cout<<a++;return 0;} (A) 10(B) 11(C) 12(D) Not defined
1 votes
1 answer
1397
main(){int a;scanf("%i"&a);printf("%i %d",a,a);scanf("%d",&a);printf("%i %d",a,a);}suppose user entered 0101 as input .what is printed by above program?
0 votes
2 answers
1398
I saw on http://www.cquestions.com/2009/06/memory-representation-of-int-data-type.html but it seems wrong to me. Please clarify.