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
3601
2 votes
2 answers
3602
3 votes
1 answer
3603
1 votes
1 answer
3604
Five nodes labeled 1,2,3,4,5 are used to construct different binary trees. How many such binary trees can be constructed whose preorder traversal is 1,2,3,4,5?Ans given i...
0 votes
1 answer
3605
In a stack (index from 1 to n) the command to access ith element from the top pf the stack S will be known as Peep(S,i). What is the condition to check for underflow on P...
2 votes
2 answers
3606
In a hash table of size 6 currently the locations 0,2,4 and 5 are occupied. The probability of a new record going into location 1 with a hash function resolving collision...
1 votes
2 answers
3607
Consider the following program fragment: char c= ‘a’ while (c++ ≤ ‘z’) putchar (xxx);if the required output is abcdefghijklmnopqrstuvwxyz then xxx should be: (a...
0 votes
2 answers
3608
1 votes
2 answers
3609
ptr
0 votes
1 answer
3611
the given ans is (d) but it will run forever as ch is character type and can have max value 255 and then it will be reset. also char would be implicitly typecasted to int...
2 votes
1 answer
3613
int x=0,i;for(i=0;i<10;i++)if(i%2&&x++)x=+2;what is the value of x.
1 votes
2 answers
3614
What is the complexity of evaluating an infix expression having n operators?
4 votes
4 answers
3615
1 votes
1 answer
3616
1 votes
0 answers
3617
1 votes
3 answers
3619
how it is compiler errorint main(){extern int i;printf("%d ", i);{int i = 10;printf("%d ", i);}}(a) 0 10 (b) Compiler Error(c) 0 0 (d) 10 10ans b
1 votes
2 answers
3620
as i is initialized with 5 in main then how it becomes 0 please explain ?int main(){static int i=5;if( i){main();printf("%d ",i);}}op = 0000