Question: Question II: Answer the following questions [ Total 2 5 marks ] : Q 1 . 2 : Which of the following is correct C
Question II: Answer the following questions Total marks:
Q: Which of the following is correct code for printing a number? Multiple answers
Marks
a printfd intvariable;
b printff doublevariable;
c printfc intvariable;
d printfs doublevariable;
Q: Which of the following statements about C String are correct? Circle correct answers. Multiple correct answers
marks
a In C there are no strings, just arrays of characters.
b A string must terminate with the code the NULor zero
c In C a string is a variable type like in Java.
d When declaring a string as character array, always give enough size for the actual string plus NUL.
Q: What is version control?
marks
Q: What will the following program print out when it is executed? Circle correct answer.
One correct answer
marksabcdQ: What will the following program print out when it is executed? Circle correct answer.One correct answer marksa been rainingb raining dayc been alld It's raining
Q: The following code is supposed to print the name "Peter Smith", but it has errors. Find the errors and suggest how to correct them. Multiple errors
marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
