What is the use of string function strtonum(string)?
Answer / quickmist
strtonum() will reliably convert a string representation of a number into an integer number. It's reliable because you can pass the min and max value that the you want the input to be within and strtonum() will return an error code if the number falls outside the specified range. This function however expects only 1 '-' symbol to exist in the input and returns a long long integer.
| Is This Answer Correct ? | 0 Yes | 0 No |
How add a first record and last record to the current file in linux?
Write a command to print the squares of numbers from 1 to 10 using awk command?
Write a command to print first and last line using sed command?
What is the use of string function sub(regex,replacement,string)?
what is java script allabout
What is the use of SUBSEP?
what are divisions main frems
What are Unary arithmetic operators?
What is the use of sequence ?
Write a command to find the sum of bytes (size of file) of all files in a directory?
Write a command remove all empty lines?
Write a command to print zero byte size files?