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 / vinod
hey guys but when main finishes its execution does it not return any value to the compiler that the main() executed successfully or not .
how will one know that main has executed successfully.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is static volatile in c?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
Do you know what are bitwise shift operators in c programming?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
How main function is called in c?
What is the purpose of void in c?
how can I convert a string to a number?
what do you mean by inline function in C?
Differentiate between Macro and ordinary definition.
What is preprocessor with example?
What is the process to generate random numbers in c programming language?
Does c have enums?
Is a house a mass structure?
How can I manipulate individual bits?
What does %2f mean in c?