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{2024-1}&\textbf{2024-2}&\textbf{2023}& \textbf{2022}&\textbf{2021-1}&\textbf{2021-2}&\textbf{Minimum}&\textbf{Average}&\textbf{Maximum}
\\\hline\textbf{1 Mark Count} & 2&2&1&1 &0&2&0&1.33&2
\\\hline\textbf{2 Marks Count} &1&1&0& 2&2&2&0&1.33&2
\\\hline\textbf{Total Marks} &4&4&1& 5&4&6&\bf{1}&\bf{4}&\bf{6}\\\hline
\end{array}}}$$

Recent questions in Programming

#561
276
views
0 answers
0 votes
address can be incrementif increment then what happenwhat is the ans please eplain
#562
485
views
0 answers
0 votes
What is the time complexity to insert a new Node in a singly circular linked list at Starting ? (Number of nodes in list = N)A. O(1)B. O(N)C. O(NlogN)D)what is difference between Option b and last option D
#563
1.1k
views
1 answers
0 votes
Consider an initially empty hash table of length 10. Following set of keys are inserted using open addressing with hash function h(k) = k mod 10 and linear probing.The ... hash table shown in above? (given ans is 128 but i am getting 288)
#564
922
views
0 answers
1 votes
Number of times # will be printed on foo(7) ?
#565
351
views
1 answers
0 votes
Can binary serach tree have duplicate elements in the tree?
#566
330
views
1 answers
0 votes
100 100 100 100200 200 200 200none100 100 200 200
#567
406
views
1 answers
0 votes
#include<stdio.h> #define A -B #define B -C #define C 5 int main() { printf("The value of A is %dn", A); return 0; }what is the output?????
#568
1.2k
views
1 answers
0 votes
main(){unsigned int i= 255;char *p= &i;int j= *p;printf("%d\n", j);unsigned int k= *p;printf("%d", k);} Both the outputs are -1. I have even tried with - int i = 255(3rd line). Still the output is -1.I don't understand how it is -1.
#569
1.1k
views
1 answers
0 votes
#570
694
views
0 answers
0 votes
#include int main() { int i = 1; printf("%d %d %d\n", i++, i++, i); return 0; }
#571
592
views
0 answers
0 votes
The output of the program if dynamic scoping is used__?
#572
596
views
0 answers
0 votes
Let p be character pointer, consider the following statementp[i]=*(p+i)i[p]=*(i+p)p+i=&(i[p])how many are true ??
#573
391
views
1 answers
1 votes
#574
213
views
0 answers
0 votes
how the o/p came?
#575
552
views
0 answers
1 votes
#576
478
views
0 answers
0 votes
What is the output of the following code ?void f(int a, int b){printf(“%d”,a+b);}void main(){f((2,3),4);}675None of these
#577
226
views
0 answers
0 votes
What will be the value of z at the end of the following program?int value(int *x) { static int count; while(*x) { count = count + (*x & 1); *x>> =1; }return count;} ... ; y < sizeof(a)/sizeof(int) ; y++) { z = a[y] + value( &a[y]);}}
#578
593
views
1 answers
0 votes
Please explained detialed execution of this code, I am not getting how int stored in char, like we can interchange using ASCII but still cant store right?
#579
494
views
1 answers
0 votes
bool foo(char *s){ char c[ ]= correspondence ;int i=0,j=0;While(s[i] && c[j]){ if (s[i] ==c[j]) j++;i++;}if(! c[j]) return true; ... the above function too one by one and output is observed in each case. book data type return true or false
#580
484
views
0 answers
0 votes
The number of possible ordered Tree with 3 nodes A, B , C 16 b) 6 c) 12 d) 10