answersLogoWhite

0

explicit type conversion is done by compile automatically

for example:

int x;

float y=10.4545

// to convert the value of float into int type we use

x=y; //automatic conversion

while if we force to convert one data type to another then it is called implicit

for example:

int x;

float y=10.4545

// to convert the value of float into int type we use

x= (int)y; //forced conversion

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Educational Theory

What is the difference between oop's pop's?

In POP, importance is given to the sequence of things to be done and in OOP, importance is given to the data. In POP, larger programs are divided into functions and in OOP, larger programs are divided into objects. In POP, most functions share global data. In OOP mostly the data is pivate and only functions inside the object can access the data. POP follows a top down approach in problem solving while OOP follows a bottom up approcah. In POP, importance is given to the sequence of things to be done and in OOP, importance is given to the data. In POP, larger programs are divided into functions and in OOP, larger programs are divided into objects. In POP, most functions share global data. In OOP mostly the data is pivate and only functions inside the object can access the data. POP follows a top down approach in problem solving while OOP follows a bottom up approcah.


Difference between supervised and unsupervised learning?

well , in supervised learning there must be a human (a teacher) to intervened , i.e. the desired response of the system is already known so the network is make the system to respond as the desired one. in unsupervised learning is the exact opposite of the supervised, in whichThe outputs are not known, so the network is allowed to settle into suitable states by discovering special features and patterning from available data without using an external help


Major components of DBMS?

major components of database management system are as follow. 1) Software. 2) Hardware. 3) Data. 4) Procedure. 5) Access language. Software: software plays an important role in the DBMS.


What is data redundancy and which characteristics of the file system can lead to it?

Data redundancy refers to repetitive data in the database. In a system with redundant data it is difficult to manage the relationships. Data redundancy is the result of poorly designed database. By implying proper constraints on the data it can be prevented.


What are least three conditions that contribute to data redundancy and inconsistency?

program data dependence - when changes in program requires changes to data access by program poor security - lack of security of most of the data make it hard of management to control who is accessing and making changes to the data lack of data sharing and availability - information cannot flow freely across different functional area. - if the user finds data in 2 different places, the accuracy of the data cannot be trusted.

Related Questions

What is explicit data and implicit data?

Explicit data is data that is clearly stated or defined, while implicit data is implied or hinted at. Explicit data is typically straightforward and directly provided, whereas implicit data requires context or interpretation to understand its meaning. In the context of programming, explicit data is data that is clearly declared and specified, while implicit data is data that is inferred or derived.


What is the Difference between implicit and explicit variable declaration?

Implicit and explicit determine what can be passed to a method. If a method is not declared as explicit the compiler will attempt to look for any implicit conversions from the type being passed to the type the method expects. for example, if the method expects a long and you pass in an unsigned char, the compiler will not complain because an unsigned char can be implicitly converted to a long without any loss of data. If you declare the method as explicit the data type that is used in the method declaration is the data type that needs to be passed to the method. If you want to pass a char *ptr to a method that expects a long you will have to cast the char *ptr to a long when calling the method. For example, foo((long)ptr);


What are various types of data conversion that can not be handled by compiler?

Data conversion which culminate in loss of data will usually lead to the generation of warning messages. Eg: from float to int. These conversions should be explicit. Also conversion between two different objects is only possible if there is a function specifying the conversion method.


How do we convert between an int to a char?

With an explicit cast, for example (in Java): int i = 0; char c; c = (char) i; Please note that data may be lost in such a conversion; the explicit cast basically tells the compiler "go ahead; I know what I am doing". Without an explicit cast, the compiler won't accept the conversion.


In programming data read by programming is called?

Pascal language is used to read the programming data.


Data-Oriented Programming in Java?

Data-Oriented Programming (DOP) focuses on decreasing the complexity of the Object-Oriented Programming (OOP) application systems by rethinking data


Explain about type casting in java?

Type casting means explicitly converting one data type to another. For example, the following won't be allowed:int a;long b;b = 5;a = b;In the last line, the compiler will complain, due to a possible data loss - long has a larger range. But if you believe that the conversion won't cause a problem in your program, you can override the error message with an explicit conversion (or typecast):...a = (int) b;Type casting means explicitly converting one data type to another. For example, the following won't be allowed:int a;long b;b = 5;a = b;In the last line, the compiler will complain, due to a possible data loss - long has a larger range. But if you believe that the conversion won't cause a problem in your program, you can override the error message with an explicit conversion (or typecast):...a = (int) b;Type casting means explicitly converting one data type to another. For example, the following won't be allowed:int a;long b;b = 5;a = b;In the last line, the compiler will complain, due to a possible data loss - long has a larger range. But if you believe that the conversion won't cause a problem in your program, you can override the error message with an explicit conversion (or typecast):...a = (int) b;Type casting means explicitly converting one data type to another. For example, the following won't be allowed:int a;long b;b = 5;a = b;In the last line, the compiler will complain, due to a possible data loss - long has a larger range. But if you believe that the conversion won't cause a problem in your program, you can override the error message with an explicit conversion (or typecast):...a = (int) b;


What do you mean by data in dbms?

known facts that can have implicit meaning is called data in other words data is the collection element that can access or performing it


What do you mean by type conversion in c plus plus?

A no converting type cast is a type cast where the underlying data type is intrinsically the same as the type being cast, thus no conversion is required. This will often occur when explicitly converting from one type definition to another when both are in fact the same definition. For instance, type casting from an unsigned int to a size_t is a no converting type cast because the size_t data type is merely a type definition (typedef) for an unsigned integral. Thus type casting between any of the following would result in a no converting type cast: unsigned unsigned int unsigned long unsigned long int size_type size_t Note that unsigned and long are both modifiers, not types. If you omit the type, int is assumed, thus the first four are fundamentally unsigned int. Note also that a conversion and a type cast are not really the same thing, but they do similar jobs. A conversion is an implicit conversion between types while a type cast is an explicit conversion between types. In other words, they're both conversions, but not all conversions are type casts. This is best demonstrated with some examples: int i = 3; In the above example, the literal constant 3 is implicitly int, thus this is an example of a no conversion type cast (same fundamental type). long j = long (i); The above example is also a no converting type cast because int and long are fundamentally the same type. Remember, long is a modifier, not a type in its own right, thus long int is implied, and a long int is fundamentally the same as an int. unsigned int k = i; The above example is an implicit conversion because the value of i (3) is assigned to a fundamentally different type to that of i. unsigned int l = (unsigned int) i; unsigned int m = static_cast<unsigned int> (i); The above examples are explicit conversions (type casts). Both explicitly cast the integral 3 to an unsigned int. Explicit conversion (type casting) between primitive types is usually unnecessary because the compiler knows how to convert between these types and it's generally not something the programmer need overly concern themselves with. However, it can sometimes be important to highlight the fact that a conversion is taking place. In these cases it is best to be explicit and the static_cast operator is the best way of making the cast stand out. Conversion to or from more complex objects should be handled by the object's themselves through class conversion operators that implement static_cast where appropriate, and dynamic_cast or reinterpret_cast when the conversion is more complex. Again, it can be important to highlight the fact a conversion is taking place so it's best to keep conversion operators to the absolute minimum and force consumers to be explicit with their conversions. You can also use const_cast to highlight the fact that the constness of a type is being converted.


What is the difference between the 'str' and 'snp' data types in programming languages?

The 'str' data type is used to store text or string values in programming languages, while the 'snp' data type is not a standard data type in most programming languages. It is possible that 'snp' could be a custom or user-defined data type specific to a certain programming environment or framework.


What does a data capturer do?

Computer programming


What is programming data?

That which a program processes.