Awk Programming Question:
Download Questions PDF

Which one of the following is not true?
a) there are 3 types of constant expressions: numeric, string and regular
b) arithmetic operators are used to evaluate expressions
c) assignment expression is an expression that stores a value into a variable
d) comparison expressions does not compare strings for relationship

Answer:

d) comparison expressions does not compare strings for relationship

Download Awk Programming Interview Questions And Answers PDF

Previous QuestionNext Question
Which command on the command line provides the same output as this executable awk script?

#! /usr/bin/awk -f
BEGIN {
print "google"
}
a) awk 'BEGIN {print "google"}'
b) awk 'print "google"'
c) awk 'print {google}'
d) none of the mentioned
What is the output of the command awk 'BEGIN {printf "%cn",65}'
a) A
b) 65
c) syntax error
d) none of the mentioned