What is true about the following C FunctionsA. Need not return any valueB. Should always return an integerC. Should always return a floatD. Should always return more than one value

This question is related to TCS Interview

Showing Answers 1 - 5 of 5 Answers

Manish Varshney

  • Jul 10th, 2005
 

By Default it returns a value of Integer. 

  Was this answer useful?  Yes

laxmikanth

  • Feb 10th, 2006
 

though the default scope is integer there is no compulsion that we should return an integer and we know that a void function can't return a value by using return statement.at the same time a void function can return a value (Even more than value is possible) by using the pointers concept which is known as indirect return.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions