Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started