I don't use that function in C programme.
yes, we can not declare a function in the body of another function. but if we declare a function in the body of another function then we can call that very function only in that particular function in which it is declared; and that declared function is not known to other functions present in your programme. So if a function is required in almost all functions of your programme so you must declare it outside the main function i.e in the beginning of your programme.
Functions in C language may call themselves (ie can be recursive) without restrictions.
you can use strstr()
This function is obsolete. Do not use it.
You can't. If you have no main function, then there is no entry point to your code and it cannot be executed. Code without a main function is essentially a library. In MS Windows, GUI mode, you don't have to have main function. (WinMain is used instead).
Any experssion including assignment or a function call can be a statement in C
yes, we can not declare a function in the body of another function. but if we declare a function in the body of another function then we can call that very function only in that particular function in which it is declared; and that declared function is not known to other functions present in your programme. So if a function is required in almost all functions of your programme so you must declare it outside the main function i.e in the beginning of your programme.
A. C. Davies has written: 'The Unemployed Youth Programme' 'Effects of Hormones, Drugs and Chemicals of Testicular Function'
Functions in C language may call themselves (ie can be recursive) without restrictions.
No. You can only have one main() function in a C or C++ program.Note:If this question means "Will the OS start two threads/processes if I have two public scope 'main' functions in my program?"then the answer is "No, even if you could link such program, which you cannot."
you can use strstr()
Yes
This function is obsolete. Do not use it.
It is up to you to decide. You may go for 'void' return type, which means no return value.
Because if you donot use main function in c program, the compiler willnot execute the program.C compiler starts execution from main function itself.
Function
You can't. If you have no main function, then there is no entry point to your code and it cannot be executed. Code without a main function is essentially a library. In MS Windows, GUI mode, you don't have to have main function. (WinMain is used instead).