Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by shivam sharma 5
0
answers
1
programming
int main() { int k = 10; printf("%d%d%d%d%d%d",k++,++k,k++,++k,k++,k); return 0 ; } STEPWISE SOLUTION IS REQUIRED
int main(){int k = 10;printf("%d%d%d%d%d%d",k++,++k,k++,++k,k++,k);return 0 ;}STEPWISE SOLUTION IS REQUIRED
492
views
asked
Aug 28, 2018
2
answers
2
pseudo code
int zap(int n) { if (n<=1) then zap =1; else zap = zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap Give the proper explanation
int zap(int n){if (n<=1) then zap =1;else zap = zap(n-3)+zap(n-1);}then the call zap(6) gives the values of zapGive the proper explanation
1.4k
views
commented
Aug 28, 2018
Programming in C
programming-in-c
recursion
+
–
1
answer
3
array long with pointers
give the complete solution with explanation int main() { int arr [2] [2] [2] = {10,2,3,4,5,6,7,8}; int *p, *q; p = &arr[1] [1] [1]; q = (int*) arr; printf("%d ,%d \n",*p ,*q); return 0; }
give the complete solution with explanationint main(){ int arr = {10,2,3,4,5,6,7,8}; int *p, *q; p = &arr ; q = (int*) arr; printf("%d ,%d \n",*p...
593
views
commented
Aug 28, 2018
Programming in C
programming-in-c
pointers
array
+
–
0
answers
4
recursion"what is the output of the program"
#include <stdio.h> void fun(int); typedef int (*pf) (int ,int ); int proc(pf, int ,int); int main() { int a = 3; fun(a); return 0; } void fun(int n) { if (n>0) { fun(--n); printf("%d,", n); fun(--n); } }
#include <stdio.h>void fun(int);typedef int (*pf) (int ,int );int proc(pf, int ,int);int main(){ int a = 3; fun(a); return 0; }void fun(int n){ if (n>0) ...
6.5k
views
edited
Aug 27, 2018
Programming in C
recursion
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register