Question:To print out a and b given below, which of the following printf() statement will you use?
#include<stdio.h>
float a=3.14;
double b=3.14;
 

A printf("%f %lf", a, b); 

B printf("%Lf %f", a, b); 

C printf("%Lf %Lf", a, b); 

D printf("%f %Lf", a, b); 

+ Answer
+ Report
Total Preview: 915

Copyright © 2024. Powered by Intellect Software Ltd