Answer:
#include <iostream>
#include <cstdlib>
using namespace std;
int* integerArr( int number);
int main(){
int* address;
address = integerArr(5);
for ( int i = 0; i < 10; i++ ) {
cout << "Address of the integer array: ";
cout << *(address + i) << endl;
}
return 0;
}
int* integerArr( int number){
int myArr[number];
for (int i = 0; i < number; ++i) {
myArr[i] = rand();
}
int* ptr= myArr;
return ptr;
}
Explanation:
The C++ source calls the defined pointer function "integerArr" with an integer argument to declare arrays of dynamic length, in the main function of the program and the items of the array are printed on the screen.
Answer:
Written in Python
age = int(input("How old are you? "))
for i in range(1,age+1):
print("**HUG**")
Explanation:
The first line prompts the user for age
age = int(input("How old are you? "))
The next line is an iteration that starts from 1 till the user input
for i in range(1,age+1):
The last line prints "**HUG**" while the iteration is true
print("**HUG**")
Answer:
I would say if it is a multiple choice
Explanation:
q3 or q5 would be the best ones to pick from in my eyes.
Increased inhibitions and a decreased likelihood that all members will contribute to the discussion is the following issues should NOT be expected when interacting with teammates via information technology
b. Increased inhibitions and a decreased likelihood that all members will contribute to the discussion.
<u>Explanation:</u>
In information technology, social behaviour will effect more powerful in industries. In digital medial those use mobile everybody is a media person, easily share the important to social media and sharing person doesn’t aware of the effect of sharing the information.
If a piece of information is received or send both the sender and receiver should be aware of the importance of information make sure it should not be shared outside the group members or the world.
Once import information shared outside the world it can stop any given point time.