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
622
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;}
#982
435
views
0 answers
0 votes
https://gateoverflow.in/204076/gate2018-2Why the answer is A,Why not D?
#983
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
#984
368
views
1 answers
0 votes
tokens passed to macros are treated as int, float or string?
#985
539
views
0 answers
1 votes
#986
590
views
1 answers
0 votes
#987
2.3k
views
2 answers
0 votes
#988
763
views
1 answers
1 votes
#989
203
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(){}
#990
225
views
0 answers
0 votes
#991
291
views
0 answers
0 votes
x =2;y = ((++x)* (++x)*(++x));what is the value of y after the execution of above C code?
#992
761
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}
#993
336
views
0 answers
–1 votes
HOW TO SOLVE IT?
#994
582
views
1 answers
2 votes
#995
669
views
2 answers
0 votes
what is the difference between*(ptr)++ and ptr++ where char *ptr="gateoverflow"
#997
449
views
0 answers
0 votes
#include <stdio.h> int main(){ int *a[] = {0,1,2,3,4}; printf("arr0=%d\n", a+0) ; ... 0;}The output isarr0=1123688464arr1=1123688472arr2=1123688480arr3=1123688488arr4=1123688496again arr0=0arr1=4arr2=8arr3=12arr4=16Please Explain
#998
636
views
0 answers
0 votes
Program PARAM (input, output);var m, n : integer;procedure P (var, x, y : integer);var m : integer;beginm : = 1; x : = y + 1end;procedure Q (x:integer; vary : integer);begin x ... (m,m); write (m);n:=0; Q(n*1,n); write (n) endvalue of m,n??
#999
408
views
0 answers
0 votes
Please explain i am not able to understand it.
#1000
245
views
0 answers
0 votes
the output of the following problem?main(){ int a=1,b=2,c=4; printf("%d",a+=(a+=4,10,a));} Explain?