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 / arjun
none of options is answer...
so option (a)shud b lyk ..
a) its not necessary to return any value
n dis will b correct in case of return type of function is
void
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of sprintf?
Can you write the function prototype, definition and mention the other requirements.
What is a pointer on a pointer in c programming language?
the question is that what you have been doing all these periods (one year gap)
What is meant by operator precedence?
What is the use of #include in c?
What is an array? What the different types of arrays in c?
How can I recover the file name given an open stream?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
What is double pointer in c?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Explain what are the __date__ and __time__ preprocessor commands?
What is the most efficient way to count the number of bits which are set in an integer?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
How can I call fortran?