2D Array Initialization

Hi everyone
I am trying to initialize a 2D array like this

double Q[3][3]={{0.01,0,0},{0,0.01,0},{0,0,0.01}};

however when I am printing it in the loop(), I am getting

Q=0.0100 0.0000 0.0000
0.0000 0.0000 0.0000
0.0000 0.0000 0.0000

Urgent help needed. Please help.

CHandra

Problem fixed. Just used wrong array indices for displaying