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}}}$$

Hot questions in Programming

#1471
289
views
0 answers
0 votes
Minimum number of temporary variables needed to swap two variables is?
#1472
537
views
2 answers
1 votes
13. What does the error "Null Pointer Assignment" mean and what causes this error?
#1473
3.4k
views
1 answers
3 votes
#1474
860
views
1 answers
0 votes
Consider a C Program situation like this, main() { float a=2.23564; printf("%d",a); }Then what will be the output??please help me..
#1475
195
views
0 answers
0 votes
#1476
392
views
1 answers
0 votes
#1477
232
views
0 answers
1 votes
am i right ??
#1478
319
views
0 answers
0 votes
A ds is reqd. For storing a set of integers such that each of the following operations can be done in O (logN) time where N is the no. Of elements in the setDeletion of s...
#1479
206
views
1 answers
1 votes
#1480
227
views
1 answers
0 votes
#1481
171
views
0 answers
0 votes
#1482
951
views
1 answers
0 votes
https://gateoverflow.in/39667/gate2016-1-10in this question we are using array so both operations are taking constant only becz of in array random access is possible so d...
#1483
464
views
1 answers
0 votes
int *I ,j;I =&j; why it is valid since j has not been defined so no memory will be allocated to j and I is having the address of J so it must saw segmentation fault
#1484
2.5k
views
2 answers
0 votes
Why not Output is showing 90? #include <stdio.h int main() { extern int p; printf("%d ", p); { int p = 90; printf("%d ", p); } }
#1485
6.0k
views
3 answers
0 votes
4. Which of the following is not a valid variable name declaration and why?a) float PI = 3.14;b) double PI = 3.14;c) int PI = 3.14;d) #define PI 3.14
#1486
349
views
1 answers
0 votes
#define swap(a,b)a=a+b;b=a-b;a=a-b;void main(){int x=5,y=10;swap(x,y);printf("%d,%d",x,y);}Will the output be 10 5 or 5 10?
#1487
432
views
2 answers
0 votes
What is the output of the following program?#include<stdio.h>int a(int n){ if(n<1) return 1; else return a(n-2) + b(n-1); }int b(int n){ if(n<=1) return 1; ...
#1488
807
views
2 answers
0 votes
#1489
376
views
2 answers
0 votes
#include<iostream>using namespace std;int main(){ int a[] = {10,20,30,40,50}; cout<<(*(&a+1)-a); return 0;}how th o/p is 5 ??
#1490
793
views
2 answers
1 votes
#include <stdio.h>void f(char );int main(){char *argv[] = { "ab", "cd", "ef", "gh", "ij", "kl" };f(argv);return 0;}void f(char p){char *t;t = (p += sizeof(int))[-1];prin...