Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage for Programming:
Recent questions tagged programming
0
votes
1
answer
121
C Programming Recursion
#include<stdio.h> void print(int n){ printf("Hello "); if(n++ == 0) return ; print(n); n++; } int main(){ void print(); print(-4); }
#include<stdio.h>void print(int n){ printf("Hello "); if(n++ == 0) return ; print(n); n++;}int main(){ void print(); print(-4);}
Laxman Ghanchi
693
views
Laxman Ghanchi
asked
May 19, 2023
Programming in C
programming-in-c
programming
recursion
+
–
0
votes
1
answer
122
DRDO INTERVIEW..
We have stored an element after a few elements in an array, where the array size is unknown, then find the position of in array.
We have stored an element after a few elements in an array, where the array size is unknown, then find the position of in array.
Saurabhgate2024
481
views
Saurabhgate2024
asked
May 14, 2023
Programming in C
programming
array
+
–
2
votes
2
answers
123
#Pointers #Pointer_initialization
Why can’t we do pointer initialization as int *p; *p=x; instead of p = &x; ?
Why can’t we do pointer initialization as int *p; *p=x; instead of p = &x; ?
Mrityudoot
296
views
Mrityudoot
asked
Apr 23, 2023
Programming in C
programming
pointers
+
–
2
votes
1
answer
124
GO Classes 2023 | IIITH Mock Test 1 | Question: 6
What will be the output of the following C program? #include<stdio.h> int main(){ int x=3; int y; switch(x++){ x++; case 3: printf("Three %d",x); break; case 4: printf("Four %d",x); break; case 5: printf("Five %d",x); break; default: printf("Default %d",x); } } Three $3$ Four $4$ Three $4$ Four $5$
What will be the output of the following C program?#include<stdio.h int main(){ int x=3; int y; switch(x++){ x++; case 3: printf("Three %d",x); break; case 4: printf("Fou...
GO Classes
826
views
GO Classes
asked
Mar 26, 2023
Programming in C
goclasses2023-iiith-mock-1
goclasses
programming
programming-in-c
output
1-mark
+
–
2
votes
3
answers
125
GO Classes 2023 | IIITH Mock Test 1 | Question: 7
If $x$ is a one dimensional array, then $^*(x+i)$ is same as $^*(\&x[i])$ $\&x[i]$ is same as $x+i-1$ $^*(x+i)$ is same as $^*x[i]$ $^*(x+i)$ is same as $^*x+i$
If $x$ is a one dimensional array, then$^*(x+i)$ is same as $^*(\&x[i])$$\&x[i]$ is same as $x+i-1$$^*(x+i)$ is same as $^*x[i]$$^*(x+i)$ is same as $^*x+i$
GO Classes
664
views
GO Classes
asked
Mar 26, 2023
Programming in C
goclasses2023-iiith-mock-1
goclasses
programming
programming-in-c
array-of-pointers
1-mark
+
–
18
votes
4
answers
126
GATE CSE 2023 | Question: 25
The integer value printed by the $\textsf{ANSI-C}$ program given below is _______________ #include<stdio.h> int funcp(){ static int x = 1; x++; return x; } int main(){ int x,y; x = funcp(); y = funcp()+x; printf("%d\n", (x+y)); return 0; }
The integer value printed by the $\textsf{ANSI-C}$ program given below is _______________#include<stdio.h int funcp(){ static int x = 1; x++; return x; } int main(){ int ...
admin
11.0k
views
admin
asked
Feb 15, 2023
Programming in C
gatecse-2023
programming
programming-in-c
output
numerical-answers
1-mark
+
–
0
votes
1
answer
127
#selfdoubt
how many topological sort possible for above graph?directions like this question https://gateoverflow.in/39669/gate-cse-2016-set-1-question-11
how many topological sort possible for above graph?directions like this question https://gateoverflow.in/39669/gate-cse-2016-set-1-question-11
Dknights
437
views
Dknights
asked
Jan 30, 2023
Programming in C
programming
topological-sort
directed-acyclic-graph
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
...
32
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register