Output of C-language code

What will be the output of the below code ? int* myFunc() { int x = 2; return &x; } main() { int* p = […]

Recursive function to compute sum of digis in a number

Write a function which should accept an integer and should return the sum of digits in that integer. This function should compute the sum of […]