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

#881
336
views
0 answers
1 votes
Number of addition performed by above code? Please explain this?
#882
597
views
1 answers
0 votes
#include<stdio.h>void swap (char *x, char *y){ char *t = x; x = y; y = t;}int main(){ char *x = "raghav"; char *y = "ravi"; char *t; swap(x, y); printf(" ... y); t = x; x = y; y = t; printf("\n(%s, %s)", x, y); return 0;}
#883
405
views
0 answers
0 votes
Can someone explain how i+= func(k); works?
#884
468
views
0 answers
1 votes
Please explain this.
#885
328
views
0 answers
0 votes
Can someone explain how %x works below and how we can write an operation in ths statement.
#886
307
views
1 answers
0 votes
Can anyone tell me the difference between bfs traversal and bfs tree?
#887
275
views
0 answers
0 votes
Whats is sizeof() mean? If it is a character how many bytes is needed?
#888
249
views
1 answers
0 votes
What is the differences between static and extern in C ? How it work ?
#889
234
views
0 answers
0 votes
How does the array related expression in printf works #include <stdio.h> int main(void) { // your code goes here int a[3][4] = { 1,2,3,4,5,6,7,8,9,10,11,12 }; printf("%u",*(*(a+0)+1)); return 0; }
#890
399
views
0 answers
0 votes
What is the output of this code void main(){ char *s = "\12345678\n"; printf("%d",sizeof(s)) }
#891
333
views
1 answers
0 votes
How does the following expression evaluate to if suppose n=2n=2; a[++n]=n++;
#892
286
views
1 answers
0 votes
what is the difference between printf(“\nI am don”) and printf(“%s”, I am don);
#893
246
views
0 answers
0 votes
How does the following expression evaluate to if suppose n=2a[++n]=n++;
#894
282
views
0 answers
0 votes
#895
361
views
0 answers
0 votes
Are questions other than C Language a part of Gate19 syllabus?I found questions - Based on C++- Concepts of OOP- Language and there characteristic matchingand many others.
#896
2.7k
views
0 answers
0 votes
What is the output of this C code? Please explain what is happening at line no. 12#include <stdio.h>int main(){int i = 97, *p = &i;foo(&p);printf("%d ", *p);return 0;}void foo(int **p){int j = 2;*p = &j;printf("%d ", **p);}
#897
170
views
0 answers
0 votes
the data structure which is most suitable for permuting a set of integers is1)queue 2) stack 3)circular queue4) 2x2 arraythe ans given circular queue.i want explanation
#898
207
views
0 answers
0 votes
What is the meaning of below arrayChar s[ ] = "man";
#899
1.8k
views
1 answers
0 votes
Consider a hypothetical machine which supports the following data types:unsigned char :1 Byteunsigned short : 2 Bytesint :4 BytesConsider the following function red()int ... be 32768, but in madeeasy solution it is given as output 0.
#900
451
views
2 answers
0 votes
Can we pass pointers in the arguments of a function? If yes then do we pass the value the pointer holds or the address of the pointer?