Computer Science, asked by antoniobabbie, 1 year ago

double d= 4.669;
printf( " my number is %.2F. " ,d);
What is the output of the following code

Answers

Answered by Sidyandex
11

Suppose you are printing, the process of n is taken as  n=18999 with code print %2d,n.

This is taken with right solution and able to reserve the output console with 2 characters for obtaining proper guidance.

It is highlighted with print and this answer and still relevant for d means located on the output gain up to date.

The d means it meant to print an integer value from decimal and f means carry out for f value.

Answered by mohitkundnani1211
0

Answer:

my number is 4.66nmmmmmmmmkkkkkkkiiii

Similar questions