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

#981
177
views
1 answers
0 votes
Q.which give unique BST ?1.level order and pre-order2.level order and post-order3.level order and in-order4.all of these5.none of these
#982
631
views
1 answers
0 votes
Consider an array A in which upto some index I , integers are stored and after that NULL values are stored. Let the size of array be n, then the time taken to find the value of I is : 1.O(n)2.O(n^2)3.O(logn)4.O(loglogn)
#983
471
views
1 answers
0 votes
what is the output?
#984
1.4k
views
1 answers
0 votes
WHAT IS THE OUTPUT OF THE FOLLOWING CODE? printf("%d",printf("ABC"));IS IT ABC3
#985
312
views
1 answers
0 votes
https://gateoverflow.in/8283/gate2015-1-35how x+3 and *(x+3) printing the same output
#986
1.3k
views
2 answers
2 votes
#include <stdio.h> struct p { unsigned int x : 1; unsigned int y : 1; };int main() { struct p p; p.x = 1; p.y = 2; printf("%d\n", p.y); } Why output is 0?
#987
1.7k
views
2 answers
0 votes
https://gateoverflow.in/204103/gate2018-29?show=204103#q204103in this question wht is passed in function 1.....what actually 1st function is doing?
#988
630
views
0 answers
1 votes
what will be the output of the code please elaborate the scopes ?#include<stdio.h>int a=10,b=20;C(){ a=23; printf("%d %d\n",a,b); D(); a=6,b=7; }D(){ b ... ; a=2,b=3; E(); printf("%d %d\n",a,b); return 0;}
#989
438
views
0 answers
0 votes
https://gateoverflow.in/204076/gate2018-2Why the answer is A,Why not D?
#990
1.1k
views
3 answers
0 votes
Given a 3D array A[2:8,-4:1,6:10] stored in a row major order, if the base address is 200 and size of an element is 4 byte, what is the address of A[5][-2][8]? I AM GETTING ANSWER 616 ANSWER IS 608 ?????? AM I WRONG
#991
369
views
1 answers
0 votes
tokens passed to macros are treated as int, float or string?
#992
548
views
0 answers
1 votes
#993
594
views
1 answers
0 votes
#994
2.3k
views
2 answers
0 votes
#995
765
views
1 answers
1 votes
#996
205
views
0 answers
0 votes
What will be value inside an unintialized pointer eg case1:main(){Int *p;//local } Or case2:Int *p;// global Main(){}
#997
229
views
0 answers
0 votes
#998
293
views
0 answers
0 votes
x =2;y = ((++x)* (++x)*(++x));what is the value of y after the execution of above C code?
#999
766
views
0 answers
0 votes
Please explain the output for the following program: #include<stdio.h>int main() { int i = 100; int *a = &i; float *f = (float *)a; (*f)++; printf("%d", *a); //getting some garbage value}
#1000
337
views
0 answers
–1 votes
HOW TO SOLVE IT?