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

0 votes
1 answer
3541
total possible binary search trees with 3 nodes is:14 15 6 none
1 votes
2 answers
3542
3 votes
2 answers
3543
Find the $C$ statement which has a syntax error.If (z)For (a, b, c)While (a, b)None of these.
1 votes
1 answer
3544
1 votes
1 answer
3545
5 votes
2 answers
3546
Main(){int a [3] ={{{2,4},{7,8},{3,4}},{{2,2},{2,3},{3,4}}};Printf("%u",a);Printf("%u",*a);Printf("%u", a);Printf("%u", *a);Printf("%u",a+1);Printf("%u",*a+1);Printf("%...
2 votes
2 answers
3547
Which of the following data structures would programmer be least likely to use to implement an abstract data type that must include an efficient implementation of the ope...
–2 votes
0 answers
3548
2 votes
2 answers
3549
3 votes
1 answer
3550
1 votes
1 answer
3551
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
3552
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
3553
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
3554
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
3555
1 votes
2 answers
3556
ptr
0 votes
1 answer
3558
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
3560
int x=0,i;for(i=0;i<10;i++)if(i%2&&x++)x=+2;what is the value of x.