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
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
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
Physics,
5 months ago
Social Sciences,
5 months ago
Biology,
5 months ago
Economy,
11 months ago
Chemistry,
11 months ago