fun(int x)
{
if(x > 0)
fun(x/2);
printf("%d", x);
}
above function is called as:
fun(10);
what will it print?
}
Post New Answer View All Answers
What is sizeof array?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
What is I ++ in c programming?
There seem to be a few missing operators ..
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
What is the difference between functions getch() and getche()?
What are called c variables?
Where are c variables stored in memory?
Explain which function in c can be used to append a string to another string?
difference between native and cross compilers
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What is a nested formula?
What are the similarities between c and c++?
What is an endless loop?
Write a program to implement queue.