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
Answers were Sorted based on User's Feedback
Answer / 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 |
main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 Answers Vector, Vector India,
Explain what is the heap?
what is object oriental programing?
Why does not c have an exponentiation operator?
Write a program to find whether the given number is prime or not?
explain memory layout of a C program
Why doesn't C support function overloading?
write a program to print infinte number
Explain spaghetti programming?
What is spaghetti programming?
Explain what is a stream?
What is the difference between array and structure in c?