Question: Assuming A is a float number with value 12.34567, what will be printed by printf (%7.6g , A); Assuming an input line contains string 3.14159
Assuming A is a float number with value 12.34567, what will be printed by printf ("%7.6g ", A); Assuming an input line contains string "3.14159 is the value for PI", what will be printed out after executing the following piece of code? int i1, i2; char s[80]; fgets (s, sizeof (s), stdin); sscanf_s (s, "%d.%d ", &i1, &i2); printf ("%d.%d ", i1, 12)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
