Answers

Question and Answer:

  Home  Awk Programming

⟩ What is the output of this program? #! /usr/bin/awk -f BEGIN { a=10; b=10; print a==b ? "true""false" } a) true b) false c) syntax error d) none of the mentioned

a) true

Output:

root@ubuntu:/home/google# chmod +x test.awk

root@ubuntu:/home/google# ./test.awk

true

root@ubuntu:/home/google#

 189 views

More Questions for you: