C প্রোগ্রামিংয়ের float Data Type সম্পর্কে আলোচনা
The float Data Type
- Read more about C প্রোগ্রামিংয়ের float Data Type সম্পর্কে আলোচনা
- Log in or register to post comments
- 443 views
The float Data Type
The int Data Type
Comments
Now let's take a close look at the C program in Listing 2.1.
The first line contains a comment:
The main() Function
In line 4 of Listing 2.1, you see this function:
The exit() Function
There is also a C library function, exit(), that can be used to cause a program to end. Because the exit() function is defined in a header file, stdlib.h, you have to include the header file at the beginning of your program।
The void Data Type
You may notice that the void word has been added into the C program in Listing 2.2. void is a keyword for a data type in C. When a void is placed prior to a function name, it indicates that the function does not return a value.
The #include Directive
Let's now move to line 2 in the C program of Listing 2.1: