Computer Science, asked by anianto0007, 11 months ago

What is the output of the program?
#include <iostream>
using namespace std;
int result(int n)
{
if (n<=10)
return n;
else
{
int a
n%10;
int b n/10;
return a + result (a+b)
int main()
cout<<result
return;​

Answers

Answered by deeptisharma0769
0

Answer:

1804289383

Explanation:

As the declared number is an integer, It will produce the random number from 0 to RAND_MAX. The value of RAND_MAX is library-dependent but is guaranteed to be at least 32767 on any standard library implementation.

Answered by udaygupta26122005
2

Answer:

1804289383

Explanation:

As the declared number is an integer, It will produce the random number from 0 to RAND_MAX. The value of RAND_MAX is library-dependent but is guaranteed to be at least 32767 on any standard library implementation.......

Hope it helps you a lot......

Pls Mark Me As Brainliest........

PLS FOLLOW ME.......

Similar questions