what is the difference between user defined and predefined in c++ ? reply soon my dear frnds
Answers
Answered by
1
Predefined: the structure of the data type is already defined internally, for example if you consider ‘C’ Programming language, some of the predefined data types are int, char, float etc.
Example:
int n; // n is a variable of type int (predefined)
User-defined: If you create the structure of the datatype by yourself then it is known as user-defined.
Example:
/*struct myDType{
int a;
float c;
prem3972:
thank u soo much
Similar questions