return n+sumAll(n-1);//return the value and call the function in recursive manner.
}
}
Explanation:
The above-defined function is a recursive type function that is written in the c language, which holds the if and else condition.
When the user passes the largest value from 1, then the else condition will be executed which adds the largest value and pass the value after the decrement of the value as an argument.
When the value will become 1, then the function if-block will be executed which returns the value and ends the calling function recursively.
Two dimensional thinking implies concepts that are flat or only partially representative of the whole. Three dimensional thinking implies the first part of 2d thinking conjoined with intersecting dimensions rendering a deeper field of meaning.