Question
What is the output of this C code?
void main()
{
double k = 0;
for (k = 0.0; k < 3.0; k++);
printf("%lf", k);
}
Answer: Option C
Was this answer helpful ?
none
Was this answer helpful ?
Submit Solution