How can I load jpeg image and get the colour value on each pixel using borland c++ 5.5?

First, you have to load the image using a function like LoadBitmap (may only work for .bmp) or LoadImage, and using some GDI functions like GetPixel you can retrieve a pixel from its HDC. You will probably want to look at a tutorial on GDI before trying this.