Commit b107b977 authored by lh5918's avatar lh5918
Browse files

Filled in qns3

parent 3d71a34d
No preview for this file type
......@@ -390,11 +390,11 @@ The behaviour of the print statements for each type of expression is shown in Ta
\hline
\lit*{char} & Output a single-character string. & \lit*{\textquotesingle c\textquotesingle} & ``c'' \\
\hline
\lit*{string} or \lit*{char[]} & \hl{???} & \hl{???} & \hl{???} \\
\lit*{string} or \lit*{char[]} & \hl{Output the character array converted into a single string.} & \lit*{\hl{['h','e','y','!']}} & \hl{``hey!''} \\
\hline
Other Array Types & \hl{???} & \hl{???} & \hl{???} \\
Other Array Types & \hl{Output the address of the array.} & \hl{[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]} & \hl{``\#addrs\#''} \\
\hline
\lit*{pair} & \hl{???} & \lit*{newpair(a, b)}\footnotemark[1] & \hl{???} \\
\lit*{pair} & \hl{Output the address of the pair if it is not null. Else, (null) will be printed.} & \lit*{newpair(a, b)}\footnotemark[1] & \hl{``\#addrs\#''} \\
\hline
\end{tabulary}
\caption{The behaviour of the print statements for each type of expression.}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment