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:
I think its B bookName! = "Brave New World"
Explanation:
I believe it is the first one, i did some research for this question
Avoid wikipedia, anyone can put answers down on there and make it seem correct but it is not. Do not trust any website research the websites or look at ratings if possible. Use the answers that google provides itself if possible. And research trusted websites.
If this helped please mark me as brainlest.
Answer:
To check if the year comes under each 100th year, lets check if the remainder when dividing with 100 is 0 or not.
Similarly check for 400th year and multiple 0f 4. The following C program describes the function.
#include<stdio.h>
#include<stdbool.h>
bool is_leap_year(int year);
void main()
{
int y;
bool b;
printf("Enter the year in yyyy format: e.g. 1999 \n");
scanf("%d", &y); // taking the input year in yyyy format.
b= is_leap_year(y); //calling the function and returning the output to b
if(b==true)
{
printf("Thae given year is a leap year \n");
}
else
{
printf("The given year is not a leap year \n");
}
}
bool is_leap_year(int year)
{
if(year%100==0) //every 100th year
{
if(year%400==0) //every 400th year
{
return true;
}
else
{
return false;
}
}
if(year%4==0) //is a multiple of 4
{
return true;
}
else
{
return false;
}
}
Explanation:
Output is given as image