What are the precautionary steps taken while using pointers
Anonymous
pointer related bugs cannot be revoked during compile time. They will not halt the program execution but they can affect the behavior of program execution. Be careful when when is doing pointers arithmetic. For example void someLLfunction (node * head) { //use this value of head and it wont change actual head memory address } void someLLfunction (node ** head) { //by using thus one can actually change the memory content for this address (i.e. change start of this particular LL) } I am sure one can find many many points if we Google this topic
Check out your Company Bowl for anonymous work chats.