I am starting writing some c code and I have gathered few primitive questions that I would like to ask.
Could you please spend some time helping me?
I found that one can get information about basic c function from linux bash with man… Well I have to admit that I did not expect that. I thought that the man is only related to the bash linux only. Where it gets the information for the the c libraries. How it distingushes between c and bash commands?
I have found in my c document a text about macros. What is a macro? Is for example the sizeof myvariable a macro? Where these are declared?
IF i have a struct lets call it mystruct and then I do memset(&mystruct,0, sizeof mystruct) this will set to zeros all the variables inside of the struct, regardless what type of variables it includes. Is not that right?
I would like ot thank you in advance for your help