I'm performing the problem set from pset4 to the (filter less) part. I wish to use malloc() to my advantage to speed up image filtering and maybe check50 will accept my solution to the problem.
I stored every color of the first pixel and each color of the last pixel using the malloc(). I do not know if is a good solution to use malloc().
How do I display using printf() the RGB value that is stored in memory with malloc()?
See that in my terminal, the first values are the integers without the malloc And below the memory values with the malloc