Computer Science, asked by Tanix10, 4 months ago

Very short answer type
1. What is dynamic initialisation of variables?
2. What is type promotion?
3. What do you mean by type casting? What is type cast operator?​

Answers

Answered by Anonymous
2

Answer:

  1. Dynamic initialization of object refers to initializing the objects at run time i.e. the initial value of an object is to be provided during run time. ... This type of initialization is required to initialize the class variables during run time.
  2. Type promotion in C is a method to convert any variable from one datatype to another. C allows variables of different datatypes to be present in a single expression. ... They are Implicit type conversion and Explicit type conversion.
  3. Typecasting, or type conversion, is a method of changing an entity from one data type to another. An example of typecasting is converting an integer to a string. ... This might be done in order to compare two numbers, when one number is saved as a string and the other is an integer.

Explanation:

Hope this will helpful to you

Answered by saisankargantayat12
2

Answer:

1) Dynamic initialization of object refers to initializing the objects at run time i.e. the initial value of an object is to be provided during run time. ... This type of initialization is required to initialize the class variables during run time.

2) Type promotion in C is a method to convert any variable from one datatype to another. C allows variables of different datatypes to be present in a single expression. ... They are Implicit type conversion and Explicit type conversion.

3) Typecasting, or type conversion, is a method of changing an entity from one data type to another. An example of typecasting is converting an integer to a string. ... This might be done in order to compare two numbers, when one number is saved as a string and the other is an integer.

Similar questions