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{2022}&\textbf{2021-1}&\textbf{2021-2}&\textbf{2020}&\textbf{2019}&\textbf{2018}&\textbf{2017-1}&\textbf{2017-2}&\textbf{2016-1}&\textbf{2016-2}&\textbf{Minimum}&\textbf{Average}&\textbf{Maximum}
\\\hline\textbf{1 Mark Count} & 1 &0&2&1&2&2&1&2&2&1&0&1.4&2
\\\hline\textbf{2 Marks Count} & 2&2&2&1&3&3&4&4&2&2&1&2.5&4
\\\hline\textbf{Total Marks} & 5&4&6&3&8&8&9&10&6&5&\bf{4}&\bf{6.4}&\bf{10}\\\hline
\end{array}}}$$

Highest voted questions in Programming

1 votes
2 answers
1891
please help how it could be 8 i am getting 1 ???Answer given is 8int main() { char *str=”Gate2017”; printf(“%d”, function( str )); return 0; } int function(char *...
1 votes
0 answers
1892
int main(){Char *str=”Gate2017”;printf(“%d”, gateoverflow( str ));return 0;}int gateoverflow(char *P1){Char *P2=P1;while (*++P1) return (P1-P2);}The output o...
1 votes
0 answers
1893
int main(){Char *str=”Gate2017”;printf(“%d”, fun( str ));return 0;}int fun(char *P1){Char *P2=P1;while (*++P1) return (P1-P2);}The output of the above progra...
1 votes
1 answer
1894
If integer needs 2 bytes of storage, then maximum value of signed integer is?
1 votes
0 answers
1896
The no of different balanced parenthesizes possible with n pairs of parenthesis?A. B. C. (2n)!D. n!please explain the answer.
1 votes
2 answers
1898
What will be the output of the program?#include<stdio.h int main() { const c = -11; const int d = 34; printf("%d, %d\n", c, d); return 0; } A. Error B. -1...
1 votes
1 answer
1899
All functions have file scope. Thus, you cannot define a function within a function. This is why C is not technically a block-structured language.Explain pls ?
1 votes
1 answer
1901
plz explain synonyms and homonyms problems in cache addressing and how to solve these problems ??If possible by numerical example ??
1 votes
1 answer
1902
void main(){ int i; float a=5.2; char *ptr; ptr=(char *)&a; for(i=0;i<=3;i++) printf("%d ",*ptr++); }(a)0 0 0 0(b)Garbage Garbage Garbage Garbage(c)102 56 -80 32(d)102 10...
1 votes
1 answer
1904
This program will give compilation error, that I know (because of constant base address). But why "L value" error?#include<stdio.h main() { char s1[50], s2[50] = "Hello";...
1 votes
0 answers
1905
explain in brief L value required error
1 votes
1 answer
1906
1 votes
1 answer
1907
1 votes
1 answer
1908
Consider these two functions. int work1(int*a,int i,int j) { int x=a[i+2]; a[j]=x+1; return a[i+2]-3; } int work2(int* a,int i,int j) { int t1=i+2; int t2=a[t1]; a[j]=t2+...
1 votes
0 answers
1909
Pls Make me understand difference betweenTyped /Untyped/Strictly Typed/Weakly Typed/Statically typed/dynamically typed language
1 votes
1 answer
1910
Which of the following is false regarding the evaluation of computer programming language:Application oriented featuresEfficiency and reliabilitySoftware developmentHardw...