What is the output of this program?

#! /usr/bin/awk -f
BEGIN {
one=10;
two=3;
print (one%two)+10
}
a) (one%two)+10
b) 13
c) 11
d) syntax error

Submitted by: Murtaza
c) 11
Explanation:
The remainder of 10/3 is 1. remainder is added to 10.
Output:
root@ubuntu:/home/google# chmod +x test.awk
root@ubuntu:/home/google# ./test.awk
11
root@ubuntu:/home/google#
Submitted by: Murtaza

Read Online Awk Programming Job Interview Questions And Answers