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 / seema choudhary

(a) Need not return any value
b'caz all statements has using the return type

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is wrong in this statement?

620


What is calloc() function?

612


Once I have used freopen, how can I get the original stdout (or stdin) back?

615


Write a program to generate the Fibinocci Series

650


what is recursion in C

601






What is the right type to use for boolean values in c?

570


Is calloc better than malloc?

561


What are the types of data files?

709


What are the primitive data types in c?

559


What is the difference between char array and char pointer?

519


What happens if header file is included twice?

637


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

1046


What is d scanf?

576


What is the code in while loop that returns the output of given code?

1269


What is function and its example?

612