H Hằng Đoàn New member Sep 21, 2021 #1 What is the output of this program? Code: #! /usr/bin/awk -f BEGIN { print log(1) } A. 0 B. syntax error C. fatal error D. segmentation fault
What is the output of this program? Code: #! /usr/bin/awk -f BEGIN { print log(1) } A. 0 B. syntax error C. fatal error D. segmentation fault
T Thê Hy New member Sep 21, 2021 #2 Answer: a Explanation: The function log() is built-in function and need not to be defined. This function calculates the natural logarithm of positive numbers. Output: root@ubuntu:/home/123hoidap# ./test.awk 0 root@ubuntu:/home/123hoidap# Upvote 0 Downvote
Answer: a Explanation: The function log() is built-in function and need not to be defined. This function calculates the natural logarithm of positive numbers. Output: root@ubuntu:/home/123hoidap# ./test.awk 0 root@ubuntu:/home/123hoidap#