What ios diff. Between %e & %f?
Answers were Sorted based on User's Feedback
Answer / sunil singh
both %e and %f are use for Floating point format specifier.
%e- it shows the value in the Exponential(scientific way).
%f - it shows this value to normal way.
Example:
float f = 1.34f;
printf("%e - %f",f,f);
outPut:
1.34e+00- 1.34
| Is This Answer Correct ? | 23 Yes | 3 No |
Answer / ambar
%e receives,stoers,outputs exponential values(eg:1.23e)
%f receives,stoers,outputs floating point or decimal values
(eg:2.34f)
| Is This Answer Correct ? | 1 Yes | 1 No |
What are structure types in C?
sum of two integers values only other then integer it should print invalid input.
if a five digit number is input through the keyboard, write a program to calculate the sum of its digits. (hint:-use the modulus operator.'%')
Can we change the value of constant variable in c?
What is linear search?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
Explain how can I convert a number to a string?
What is a C array and illustrate the how is it different from a list.
please give me some tips for the selection in TCS.
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
write the program for prime numbers?
73 Answers Accenture, Aptech, Infosys, TCS,
Is javascript based on c?