Answer:
E. None of the above
Explanation:
char ans[20]
int num = 40;
sprintf(ans, "%d to %d", num, num +10);
This code fragment produce an error,because in 1st line of code char ans[20] ,there is no semicolon after the line.As ans is undeclared ,the ide will produce an error as we use it in
sprintf(<u>ans</u>, "%d to %d", num, num +10);
If we put semicolon after the char ans[20]
,then it will not give error but also don't produce an output because for sprintf we should initialize the num and ans as of pointer type.
It is a condition for sprintf and num should be of string type.
<u>C program
</u>
#include <stdio.h>
int main()
{
char ans[20];
int num = 40;
sprintf(ans, "%d to %d", num, num +10);
return 0;
}
<u>Output </u>
No output
(You can check this code on any ide for confirmation.)
Answer:
Single-user, multi-tasking
Explanation:
This is the type of operating system most people use on their desktop and laptop computers today. Microsoft's Windows and Apple's MacOS platforms are both examples of operating systems that will let a single user have several programs in operation at the same time. For example, it's entirely possible for a Windows user to be writing a note in a word processor while downloading a file from the Internet while printing the text of an e-mail message.
Answer:
oo..hello from philippines
I wouldn’t say anything because no-one is allowed in the pilot room and also i am landing the aircraft down but the I would talk to them after the flight
Answer:
less
Explanation:
Line 1 // age = 4;
Line 2 // if(age > 5)
Line 3 // out.print("more");
Line 4 // else (out.print("less");
Because age is never changed, it will stay at 4. So in the if statement, we are asked if age is greater than 5, and since we know age is 4, we can say NO to that question. Since we didn't meet the requirements to go inside the If statement, we go on down to the else statement, where we print "less".