adplus-dvertising
frame-decoration

Question

The following program:

main()
{
close(1);
print("How R U?");
}

a.

is syntactically incorrect

b.

results in a run-time error

c.

will wait indefinitely, if executed

d.

none of the above

Posted under Shell Programming UNIX

Answer: (d).none of the above

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The following program: main() { close(1); print("How R U?"); }