Explain about the floating point constants in c language, C/C++ Programming

Assignment Help:

Explain about the Floating point Constants in c language?

A floating point constant is the number that contains either a fraction or decimal part. If an exponent is present its consequence is to shift the location of the decimal point to the right if the exponent is positive or to the left if the exponent is negative and if a decimal point isn't included within the number it is assumed to the positioned to the right of the digit. A real number may as well be expressed in exponential form. For instance the value 237.95 may be written as 23795E2 in exponential notation. E2 mean multiply by 102.


Related Discussions:- Explain about the floating point constants in c language

Need to fix a code written in c++, Need to Fix a code written in c++,SDL2.0...

Need to Fix a code written in c++,SDL2.00 for high CPU and memory leak There is a 2D simple game written with SDL2.00 using c++. The game isn't complete and the code is a little

Console atm machine coding, construct a console programme for a bank ATM m...

construct a console programme for a bank ATM machine.

What happens while a function throws an exception which , Q-What happens wh...

Q-What happens while a function throws an exception which was not specified through an exception specification for this function? A: Unexpected() is called, which, by default, w

Program to calculate average of marks, Program for calculate average of tot...

Program for calculate average of total marks: #include using namespace std; void print(int marks_arr[],int cnt) { int ind[cnt]; int i=0; int j=0; int k=0;

Luminous jewels polishing necklace, 1.jewels can only be removed for polish...

1.jewels can only be removed for polishing from either end of the necklace. 2.cost of polishing=sitting number*colour value of jewels.

Create a program of several prototypes for functions, In this assignment th...

In this assignment the main has been written for you in the file phone_book_main.cpp. You will also notice that a class called Person has been declared as having several prototypes

Static data meber and const data meber, can we use const data member in sta...

can we use const data member in static. member function with example.

What are literals, Literals (Constants) Constants are data storage loca...

Literals (Constants) Constants are data storage locations whose address is not accessible for the user. Their value is not altered during the course of the program. Literal

Area under the curve, program area under the curve y=f(x) between x=a & y=b...

program area under the curve y=f(x) between x=a & y=b, integrate y=f(x) between the limits of a & b   Solution: #include float    start_point,            /* GLOBAL V

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd