answersLogoWhite

0

What are different data type in c?

Updated: 8/20/2019
User Avatar

Wiki User

11y ago

Best Answer

primitive

non primitive

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are different data type in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the different type of data type in c classified it?

float,int,char


What are different data type in c language?

there are three data type ic c language. they are, 1.primary data type: a.integer type b.floating point type c.character type d.void type 2.derived data type eg; array, pointer 3.userdefined data type eg; structer and union


What is different between primitive date type and non primitive data type in c plus plus programming language?

A primitive data type is built into the language - int, char, long, etc. A non-primitive data type is am abstract data type that is built out of primitive data types - linked list, queue, stack, etc.


Suggest the data type that can be used for initializing alphanumeric elements in a c programmed array .Also tell you the compiler that can understand the data type.?

Data Type : - It is used to identify the type of data. 'C' Language has a large no of data type, Thus it is also known by rich data type language: Data type are generally classified in three group: 1: Fundamental data type 2 Derived Data Type : 3 Use defined data type; 1 Fundamental data type: Fundamental data type includes i) The int data type: The data type int can store integer value only for eg. 14, 45, 78 declaration: int a,b; here we can store any value in variable a & b. ii) Char Data Type : The data type char can store character value only which is enclosed with single quote for e.g. 'c' declaration : char x = 'c' iii) Float Data Type:


What is the data type int?

Data-type (short for integer).


What is the Pascal programming language data structure?

In Pascal, data structures are implemented with recorddata types. A record is synonymous with the structdata type in C, or the class data type in C++.


Why String data type cannot be used as built-in data type in C?

Because it isn't a built-in data-type in C. Other examples that aren't built-in data-types: complex numbers, binary trees, associative-arrays.


What is int in 'c' language?

data-type


The data type of an item price?

I am assuming that the question is "What would the best data type to represent a price".Although this is open for debate, in Java I think that the best data type for a price is double and the best data type in C# to be decimal.I hope this answers your question.


What are the valid type of data that the main can return in c language?

Type 'int'


User defined data type in c plus plus?

Use "typedef" : both in C and C++.


What is difference between '1' and 1 as for us a computer is concerned with respect to c plus plus?

When you type '1' in a C++ program, it is considered to be of character data type(char). When you type 1, it is considered to be of integer data type.