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

#721
623
views
0 answers
0 votes
https://gateoverflow.in/15906/isro2014-32IN THIS QUESTION WHILE DOING ANSWER OF Pranay Datta 1 see 0570 mean its in octal . so 000 101 111 000 now >>4 means 010 ... MSB 0 IS NOT FOR SAYING IT IS OCTAL NUMBER OR WE NEED TO CONSIDER IT.?
#722
301
views
0 answers
0 votes
What is the difference between concatenation of two linked lists and union of two linked lists?
#723
143
views
0 answers
0 votes
https://gateoverflow.in/55534/isro2016-79WHAT IS CORRECT ANSWER?
#724
917
views
1 answers
1 votes
What will be the output of following program if we use a) static scoping b) dynamic scoping?int a= 1,b=2; main( ) { int a=20,b=30; Print(a,b); C( ); Print(a,b); D( ); } C( ) ... Print(a,b); F( ); } F( ) { int b =6; Print( a,b); a=7; b=8; }
#725
1.0k
views
0 answers
0 votes
Consider a binary tree, where for every node $P-Q\leq 2$.Prepresent number of nodes in left sub tree for node S and Q represents the number of nodes ... present in such binary tree of height $h=4$ _____________ Im getting 8. kindly verify
#726
1.7k
views
1 answers
0 votes
Let G be a simple graph with 20 vertices and 8 components. If we delete a vertex in G, then number of components in G should lie between ____.(A) 8 and 20(B) 8 ... 19(D) 7 and 20 Answer is (C) but i think also possible (B). anyone explain?
#727
402
views
0 answers
0 votes
#728
383
views
1 answers
–1 votes
#729
1.1k
views
1 answers
0 votes
Consider the following C code segment:#include main() { int i, j , x ; scanf("%d", &x); i = 1 ; j = 1; while ( i< 10 ) { j = j * i; i = i + 1; if (i == x) break ; } }For the ... x ))D(( j = 9!) ∧ (i = 10)) V (( j = (x - 1)!) ∧ (i = x ))
#730
401
views
1 answers
0 votes
#731
368
views
1 answers
1 votes
#732
299
views
0 answers
0 votes
T(n)= T(4n/5)+O(n)... we can't apply master's theorem to solve it??? And if not then how are we going solve this..
#733
427
views
0 answers
0 votes
#734
486
views
1 answers
0 votes
Which of the statements are false about keyword register'?Register keyword can be used with a pointer variable as register can have address of memory location.We ... c.Can someone explain the choice a more clearly in the above question?
#735
241
views
0 answers
1 votes
What happens to the code which is present after a return..??Compilation error, or it is ignored or something else
#736
667
views
1 answers
0 votes
#include<stdio.h> int main() { void v = 0; printf("%d", v); return 0; }
#737
992
views
0 answers
0 votes
#include<stdio.h> int main() { char huge *near *far *ptr1; char near *far *huge *ptr2; char far *huge *near *ptr3; printf("%d, %d, %d\n", sizeof(**ptr1), sizeof(ptr2), sizeof(*ptr3)); return 0; } A.4, 4, 4 B.2, 2, 2 C.2, 8, 4 D.2, 4, 8
#738
236
views
0 answers
0 votes
#include<stdio.h> #include<stdarg.h> void display(char *s, ...); void show(char *t, ...); int main() { display("Hello", 4, 12, 13, 14, 44); ... display() call B.Error: invalid function show() call C.No error D.Error: Rvalue required for t
#739
330
views
0 answers
0 votes
#include<stdio.h> #include<stdlib.h> int main(int argc, char **argv) { int i, j=0; for(i=0; i<argc; i++) j = j+atoi(argv[i]); printf("%d\n", j); return 0; }
#740
122
views
0 answers
0 votes
Just want to know whether this statement is correct or not, syntactically.i = i ++