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

Most answered questions in Programming

2 votes
4 answers
81
Bug meansA logical error in a programA difficult syntax error in a programDocumenting programs using an efficient documentation toolAll of the above
4 votes
4 answers
82
void fun(int *p) { int q = 10; p = &q; z } int main() { int r = 20; int *p = &r; fun(p); printf("%d", *p); return 0; }
4 votes
4 answers
83
https://gateoverflow.in/?qa=blob&qa_blobid=14433986388826671915int main() { int a = 10; int *b = &a; scanf("%d",b); printf("%d",a+50); }What will be the Output of the fol...
3 votes
4 answers
84
What is the time complexity to delete an arbitrary node from binary heap?O(n)O(log n)O(1)O(n log n)
3 votes
4 answers
85
What is the time complexity for insertion in binary tree in worst case?O(1)O(log n)O(n)O(n log n)
0 votes
4 answers
87
main(){int a = 1; int b = 1; int c = a || b ; printf("a = %d b=%d\n",a,b); return 0;}
1 votes
4 answers
88
#include<stdio.h>int main(){ if(*"abc" ==*"abcdef") printf("strings are equal"); else printf("not equal"); return;}Can someone please explain this prog...
5 votes
4 answers
89
Consider the following C program:main() { float sum= 0.0, j=1.0,i=2.0; while(i/j>0.001){ j=j+1; sum=sum+i/j; printf("%f/n", sum); } }$0$ - $9$ lines of output$10$ - $19$ ...
3 votes
4 answers
90
Assume sizeof an integer and a pointer is 4 byte. Output?#include<stdio.h #define R 10 #define C 20 int main() { int *p[R][C]; printf("%d",sizeof(*p)); printf("%d",sizeof...
0 votes
4 answers
91
What will the following code fragment output: void fun(int *a, int b) { b++; a = a + 3; } void main() { int A[5] = {0,1,2,3,4}; fun(A, A ); printf(%d, A ); }
7 votes
4 answers
93
Consider a 2D array with elemnts stored in the form of lower triangular matrix.The elements must be crossed to read A[4,2] from the array [-6..................+8 , -6.......
2 votes
4 answers
94
Does C perform array out of bound checking? What is the output of the following program?int main() { int i; int arr[5] = {0}; for (i = 0; i <= 5; i++) printf("%d ", arr[i...
3 votes
4 answers
97
What is the difference between order and degree of a B-tree are they same or different
6 votes
4 answers
98
What is the output of the code? #include <stdio.h int main() { int a; printf("%d",scanf("%d",&a)); return 0; }$10$$9$$-1$An undefined behavior
2 votes
4 answers
99
char * a[] = "red shoes";How the space in string constant "red shoes" will be stored in 1-D array in memory?
8 votes
4 answers
100
What is the output of the following program?#include<stdio.h int tmp=20; main() { printf("%d", tmp); func(); printf("%d", tmp); } func() { static int tmp=10; printf("%d",...