Courses
Log inStart Learning AI
Courses
Log inStart Learning AI

Q&A Discussions

{int a=1; printf("%d",++a); func(); printf("%d",++a); return 0;} void func(){int a=10; return 1;}
pleaseexplain
-1 Vote
2 Answers
10th May 2020, 3:22 PM
Karan Dewangan
Karan Dewangan - avatar
srand(time(NULL)); cout<<1+(rand()%6);
pleaseexplain
0 Votes
2 Answers
14th May 2020, 8:16 AM
Karan Dewangan
Karan Dewangan - avatar
int foo(int n,int r){ if(n>0) return (n%r+foo(n/r,r)); else return 0; } int main (){ printf("%d",foo(345,10)); }
pleaseexplain
0 Votes
1 Answer
9th May 2020, 8:05 AM
Karan Dewangan
Karan Dewangan - avatar
Hot today
Activities on sololearn
1 Votes
What is problem in this code
0 Votes
playground input
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
Software developer
0 Votes
How I can use div
0 Votes
Asking for final year project ideas!
1 Votes
Html issue
0 Votes
TIPS From Veterans
1 Votes
Playground input
0 Votes