Question:
A computer takes a lot of time to do complex calculation.
Answer:
False!
Hope it helps you
Answer: Multitasking systems are able to execute multiple jobs at the same time, hence the name "multitasking systems".
Answer:
c) 2^32 times as many values can be represented.
Explanation:
It's funny, this problem comes from a real-life situation, except it wasn't really foreseen :-) And we will encounter a similar problem in less than 20 years.
The difference in terms of storage capacity from 32-bit integers and 64-bits integers is huge.
A 32-bit integer can store (signed) numbers up to 2,147,483,647. (so over 2 BILLIONS)
A 64-bit integer can store (signed) numbers up to 9,223,372,036,854,775,807 (9 BILLIONS of BILLONS)
Answer:
The correct for the given question is option(c) i.e .-1.
Explanation:
Strcmp() function is used to compare the two string .it compare the string character by character strcmp() function return the three value on comparison.
(1) if string 1 is equal to string 2 it return 0;
(2) it return>0 if string1 has greater ASCII value than string 2
(3) it return <0 if string1 has smaller ASCII value than string 2
In the given code strcmp returns -1 value the ASCII code of character 'A' has smaller then ASCII code 'X';
Following are the program of given code
#include<stdio.h>// header file
#include<string.h>
int main() // main method
{
char x;
x =strcmp( "ABCD", "XXX" );
printf("%d",x);
return 0;
}
Output:-1