C Programming and Introducing 3 more Datatype in C Programming
C programming is a general-purpose, procedural, imperative computer programming language developed in 1972 by Dennis M. Ritchie at the Bell Telephone Laboratories to develop the UNIX operating system. C is the most widely used computer language. It keeps fluctuating at number one scale of popularity along with Java programming language, which is also equally popular and most widely used among modern software programmers.
Why to Learn C Programming?
C programming language is necessary for students and working professionals to become a great Software Engineer especially when they are working in Software Development Domain. I will list down some of the key advantages of learning C Programming:
-Easy to learn
-Structured language
-It produces efficient programs
-It can handle low-level activities
-It can be compiled on a variety of computer platforms
What is a Double C Programming?
In C double is a keyword for the double data type. It represents floating-point numbers with better precision. Usually, we associate the name with the idea that it has double the precision of the float type. Learn faster with a deeper understanding! The "Computer programming for beginners" course is the perfect place, to begin with programming.
Example
#include<stdio.h>
#include<conio.h>
#include<float.h>
main()
{
printf("Size of Double: %d byte\n",sizeof(double));
//printf("MIN size of Double:%e\n", DBL_MIN);
}
What is a Long Double C Programming?
In C and related programming languages, long double refers to the floating-point data type that is often more precise than double precision though the language standard only requires it to be at least as precise as double. As with C's other floating-point types, it may not necessarily map to an IEEE format.
Example
#include<stdio.h>#include<conio.h>
#include<float.h>
main()
{
printf("Size of Double: %d byte\n",sizeof(long double));
//printf("MIN size of Double:%e\n", DBL_MIN);
}
What is the size of a float in C?
In most implementations of C compilers float is 4 bytes long, so it will be at least 4 * 10 bytes. In C, there is a size of, use it! A float is C is not 4 bytes long. It may be that long but it is not guaranteed by the standard.
Example
#include<stdio.h>
#include<conio.h>
#include<float.h>
main()
{
printf("Size of Double: %d byte\n",sizeof(float));
//printf("MIN size of Double:%e\n", DBL_MIN);
}
Please Watching My Video is Below
No comments:
Post a Comment