Interviewer And Interviewee Guide

Awk Programming Interview Question:

What is the output of the program?

#! /usr/bin/awk -f
BEGIN {
a["linux","MCQ"]="google"
print a["linux","MCQ"]
}
a) google
b) linux MCQ
c) a["linux","MCQ"]
d) syntax error

Submitted by: Murtaza
a) google
Output:
root@ubuntu:/home/google# ./test.awk
google
root@ubuntu:/home/google#
Submitted by: Murtaza

Read Online Awk Programming Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.