I know that from google I will get answers for these question. Since I didn't get a satisfying answers I asked in this site.And I got every good answer from this site people.Thanks a lot for your help.Other questions answers also I will get from google then whats the use of this site.Then regarding the output i wanted an explanation. Really sad to get such a reply.And sorry for disturbing you people.
That is why you should read posting guidelines. Whatever you wrote in your second post, you should write it in your first post. Then reader can understand that you have taken efforts, as we are not allowed to spoonfeed and self work is the best help. That's why I wrote such answer to work by yourself as I was not known that you have worked so far.
Anyways,
Your first answer is :
When a function is defined, the expected variables are listed in parentheses. These are parameters.
For example:
-
void fun(length)
-
{
-
.....
-
}
here length is a parameter of the Square function.
When a function is called, there is a list of variables that are passed to the function. These are arguments. Like:
-
int length = fun(length);
-
For memset and memcpy you can refer
http://www.cplusplus.com/reference/c...ng/memset.html (Thanks to Google search)
Difference between memcmp and strcmp is:strcmp() compares characters up until it sees the first '\0' in either string. As soon as character difference is found or '\0' is found it returns while memcmp() does not look for '\0'. It looks for the first difference considering the size specified.
For that output experts may help!!
Regards