T

Type conversion in C

2 Min Read
0 601
2 Min Read
0 601

Typecasting or type conversion is converting an operand of one type to another type. Typecasting in C is performed in two different ways Implicit type conversion The C compiler automatically performs type conversion when an operation is performed on operands…

Continue Reading
F

Float and double datatype in C

2 Min Read
1 1444
2 Min Read
1 1444

In floating-point representation, we have two types. They are Float: Variables declared with float datatype can able to store 32-bit decimal point value [e.g. 33.34], the representation of decimal-point in binary is completely different when compared with decimal to binary….

Continue Reading
I

Int datatype in c

1 Min Read
0 757
1 Min Read
0 757

Variables declared with int data type can accommodate 32-Bit integer value i.e. 4BYTES. Signed integer varies from -2,147,483,648 to +2,147,483,647 i.e. 31 bits for data and the most significant bit will represent sign (+/-). Unsigned integer varies from 0 to…

Continue Reading
C

Char datatype in C

1 Min Read
0 823
1 Min Read
0 823

Note: Before referring to this article, I recommend you to refer to my previous article i.e. ASCII charset. Variables declared with a char datatype can accommodate any symbol present in the ASCII character set and can be represented with an…

Continue Reading
C

C ASCII charset

1 Min Read
0 1402
1 Min Read
0 1402

ASCII – American Standard Code For Information Interchange. Task-to-do: Please learn the below conversions : NOTE: No need to write a C program for the above. Just learn the mathematical procedures of these conversions.

Continue Reading
D

Datatypes in c

1 Min Read
0 789
1 Min Read
0 789

Datatypes specify the “size“, “type of data” and the “maximum range” of value that an object can accommodate. Object – An object is a named region of storage. It might be a variable or array or structure instance. Classification of…

Continue Reading
Exit mobile version