What is true about the following
C Functions
a.Need not return any value
b.Should always return an integer
c.Should always return a float
d.Should always return more than one value.
Answer Posted / ramesh
Need not return any value
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is the mean of function?
What is equivalent to ++i+++j?
How can you tell whether a program was compiled using c versus c++?
How can you pass an array to a function by value?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
How is a structure member accessed?
What is the benefit of using an enum rather than a #define constant?
Can a pointer point to null?
What are local static variables? How can you use them?
How can I delete a file?
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.
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
Explain what is a stream?
What are reserved words?