Computer Science, asked by absorbpain007, 5 months ago

Find below few statements in C-language.
float x=18.23 ;
printf( “%1.1f\n” , x ;
printf( “%-8.3f” , x ;
Determine the output of the above statements

Answers

Answered by sambey0
0

Answer:

error

Explanation:

main.c:15:20: error: stray ‘\200’ in program

printf( “%1.1f\n” , x ;

^

main.c:15:21: error: stray ‘\235’ in program

printf( “%1.1f\n” , x ;

^

main.c:16:9: error: stray ‘\342’ in program

printf( “%-8.3f” , x ;

^

main.c:16:10: error: stray ‘\200’ in program

printf( “%-8.3f” , x ;

^

main.c:16:11: error: stray ‘\234’ in program

printf( “%-8.3f” , x ;

^

main.c:16:18: error: stray ‘\342’ in program

printf( “%-8.3f” , x ;

^

main.c:16:19: error: stray ‘\200’ in program

printf( “%-8.3f” , x ;

^

main.c:16:20: error: stray ‘\235’ in program

printf( “%-8.3f” , x ;

^

Similar questions