Answer:
The correct option for accessing the value in sarray[3] is : d) *(sptr+3)
Explanation:
a) *sptr[*3] is wrong option because its syntax is not right it will give errors.
b) *sptr+3 is also wrong option because it will add 3 to the value of sarray[0].
c) sptr+3 is wrong option because it will only access the address of sarray[3] not the value it contains.
d) *(sptr +3) is correct syntax for accessing value in sarray[3] by using pointer
Hello!
The answer would be: a decrease.
I hope that this helps you!
Answer:
#include<stdio.h>
#include <iostream>
using namespace std;
int main(){
int number, min, max;
cout << "Enter the minimum range: ";
cin >> min;
cout << "Enter the maximum range: ";
cin >> max;
cout << "Odd numbers in given range are: ";
for(number = min; number <= max; number++)
if(number % 2 !=0)
cout << number<< " ";
cout<< "Even numbers in given range are: ";
for(number = min; number <= max; number++)
if(number % 2 ==0)
cout << number << " ";
return 0;
}
Explanation:
First of all, we take declare two variables. one as the lowest number of the range and the other as the upper limit of the range (in this case: <em>min</em> and <em>max</em>). We declare another variable (<em>number</em>) and store in it the lowest number of the range (<em>min</em>). To check whether the number currently stored as the value of the variable (<em>number</em>) is even, we take in account the remainder of that number divided by 2. If the remainder does not equals 0, we print that number as odd. We again check the remainder by dividing the number by 2. If the remainder does equals 0, we print that number as even.
Answer:
Digital Native
Explanation:
Digital natives are comfortable in the digital age, because they grew up using technology, Digital natives are the opposite of digital immigrants, they have been interacting with technology from childhood.Digital natives see everyone on the equal level and are not dividing the world into hierarchies, they view the world horizontally. They cross boundaries and embrace the benefits of sharing with each other. Those values exist because of what they are driven by. Because of interacting with technology, digital natives think and process information fundamentally differently.