-
To convert a string to an int, the function is _________________.
-
- INET_STOI()
- INET_ITOS()
- INET_NTOA()
- INET_ATON()
- None of these
Correct Option: D
In MySQL, the function used to convert a string to an integer is INET_ATON(). On the other hand, the function INET_NTOA() converts a string to the corresponding integer value.