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 / shikhar
yes, the answer is a. In C, the function may or may not
return any value. In new languages like vb, dotnet....these
kind of functions are called "subroutines".
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the meaning of && in c?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
Write a program to print "hello world" without using a semicolon?
Is return a keyword in c?
Describe explain how arrays can be passed to a user defined function
Explain do array subscripts always start with zero?
what are bit fields in c?
What are the different file extensions involved when programming in C?
What is structure data type in c?
what is a function method?give example?
What is the purpose of main( ) in c language?
What is the difference between memcpy and memmove?
What is the default value of local and global variables in c?
What are the types of operators in c?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers