I've been trying to read pointers for the last few days and while it is quite tough to understand but after practising a few programes it became a bit clear....
However the topic of double pointers is going above my head.... Even after doing several practicals, i've not been able to understand it not even it's initialisation as a result of which system has crashed 2-3 times.....The entire concept is totally confusing......
Can anyone please help me on this or provide me any link to study double pointers so that i can learn it from the basics.......
Although these days we have so many libraries that pointers and double pointers are not used very frequently. Like instead of pointer one can use std::string. Similarly for a double pointer a vector of string may be used.
But pointers are important and a good programmer should have a strong understanding of pointers. double pointers are used when you are doing something in double dimension like solving some matrix problem, reading a text file and doing some calculations and million other uses. In these scenarios where we dont know what will be the size of input, we have to use double pointers.