Thursday 2 December 2010

Write a declaration statement for an array of 10 elements of type float. Include an initialization statement of the first four elements to 1.0, 2.0, 3.0 and 4.0.

float tmp [10] = {1.0,2.0,3.0,4.0};

No comments:

Post a Comment