Difference between RAM and ROM -
1. RAM stands for random access memory and ROM stands for read only memory.
2. Written down the data with RAM is fast while written down it with ROM is very slow.
3. In RAM data can be both stored and retrieved while In ROM data can be only read.
4. RAM is a volatile memory as it is erased directly and ROM is non-volatile as it doesn't erased directly.
5. RAM used in CPU cache, primary memory and ROM used in microcontrollers.
6. RAM is costlier while ROM is cheaper then RAM.



