Q.1.
What is the output of the following code? sprint(‘%i’,91293)
Q.2.
What is the output of the following code? sprintf(‘%E’,912)
Q.3.
What is the output of the following code? sprintf(‘%d %d %d’,..2.3)
Q.4.
What is the output of the following code? disp({})
Q.5.
What is the output of the following code? size(‘’)
Q.6.
What is the output of the following code? sprintf('%04.2f',2.9121)
Q.7.
What is the output of the following code? sprintf(); disp();
Q.8.
How can we influence the disp command with format specifiers?
Q.9.
What is the output of the following code? disp(“12”)
Q.10.
What is the output of the following code? fprintf(“%f”,.123)
Q.11.
What is the size of ans variable after the following code? sprintf('23') ans= ’23’