Functions in C Programming MCQ (Multiple Choice Questions And Answers)
Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:
List of Programming Full Forms
- "main" is the name of default must and should Function.
- main() is same as int main()
- By default, return 0 is added as the last statement of a function without specific return type.
- All of the above
int main()
{
void show()
{
printf("Tutorial Links");
}
show();
return 0;
}
- Compile time error
- Tutorial Links
- Run Time Error
- None of the above
void m(int k)
{
printf("hi");
}
void m(double k)
{
printf("hello");
}
void main()
{
m(3);
}
- Compile time error
- hi
- hello
- hi hello
- Both B and C
- Is not defined in the same file
- Returns a non-integer value
- None of the above