x

Choose Country Code

x

Direction

x

Ask a Question

  • Ask a Question
  • Scan a Question
  • Post MCQ
  • Note: File extension must be of jpg, jpeg, png, bmp format and file size must not exceed 5 MB
x

Ask a Question

x

x
x
x
Hire a Tutor

Answers and Solutions

What's Your Question?
Answer

Signed: char, int, long, float, double.

UnSigned: char, int, long, float, double.

Answer
There are five basic data types associated with variables: int - integer: a whole number. float - floating point value: ie a number with a fractional part. double - a double-precision floating point value. char - a single character. void - valueless special purpose type
Answer
int - integer: a whole number. float - fractional part. double - a double-precision floating point value. char - a single character. void - valueless
Answer

Data types are of two categories.

1. Primitive data types ,like

int(32 bit 2B, 64 bit 4B), float(4B),char(1B),double(8B),Long(10B) 

2. Derived dat types, like

Arrays, Structures, Unions etc.

Again enumerated and void types are availabe.

Answer

There are two types of data type

1- Pre - Define or In-Build or instrinsic Data Type 

Ex:   int, long, float, double, char

2- user define or derived type or extrinsic data type

Ex:   Array, Structre, Union

Answer

There are following data types used in C

1. Integer(int)

2. Character(char)

3. Float(Float)

4. long integer(long int)

5. double

6. void   etc

Answer
  •       Type                        Size (bits/bytes)                     Range
  • char or signed char          8 / 1                                            -128 to 127
  • unsigned char                   8 / 1                                            0 to 255
  • int or signed int                 16 / 2                                         -32,768 to +32,767
  • unsigned int                      16 / 2                                         0 to 65,535
  • short int or
  • unsigned short int            8 / 1                                            -128 to 127
  • signed short int                 8 / 1                                            0 to 255
  • long int or                                                                              -2,147,483,648 to
  • signed long int                  32 / 4                                         +2,147,483,647
  • unsigned long int             32 / 4                                         0 to 4,294,967,295
  • float                                     64 / 8                                         3.4E - 38 to 3.4E + 38
  • double                                 64 / 8                                         1.7E-308 to 1.7E+308
  • long double                        80 / 10                                       3.4E-4932 to 1.1E-4932

Post Answer and Earn Credit Points

Get 5 credit points for each correct answer. The best one gets 25 in all.

Post Answer