I think you are under wrong impression. We should use 'free' if we use 'malloc' to allocate memory. And we should use 'delete' if we use 'new' to allocate the memory.
Moreever, in C++ you should...
Type: Posts; User: Rahul C.; Keyword(s):
I think you are under wrong impression. We should use 'free' if we use 'malloc' to allocate memory. And we should use 'delete' if we use 'new' to allocate the memory.
Moreever, in C++ you should...
1) Create class instance when the constructor is private
ANS: This is the situation when the owner of the class does not want the control of the constructor or wants to implement specific feature...
Yes. The 'find' command can help you.
like, find $HOME/ -mtime 30
Please check 'man find' for more options.
1) Process table in unix does not have any identification for the type of process. And the daemon process is nothing but the process running in a loop. So I do not think there is a way to list the...