Answer:
The answer to this question is given below in the explanation section
Explanation:
There are different forms control. for example HTML form controls are:
-
Text Input Controls.
- Checkboxes Controls.
- Radio Box Controls.
- Select Box Controls.
- File Select boxes.
- Hidden Controls.
- Clickable Buttons.
- Submit and Reset Button.
to take input from the user and store it into the variable, mostly text input form control is used.
however, you can also use text input, checkbox, radio button as a control to take input from the user and store the input value in some variables.
<span>each entry in an array of strings is actually a pointer to the first character of a string
Each indice in an array of strings (which are actually each actually an array of char) is actually a pointer to the first (0th) char of a string.
</span>
A device that sucks bc mien broke
Data encryption is the name of the technology that uses mathematical algorithms to render information unreadable to those lacking the required key.
<h3>What is Data encryption technology?</h3>
This is a technology that helps to secure data by applying a technique known as cryptography. What this basically means is that a secret code (or key) is generated which would provide access to the cryptographically stored information, and failure to provide the correct key makes the data or information unreadable.
You can learn more about how data encryption works here brainly.com/question/9238983
#SPJ1
Answer:
Check the explanation
Explanation:
a) there is a need to create an allocated object of dynamic ability for the Timer class, and assign it to a pointer variable timePtr.
As we are going to create an object of timer class, so timePtr will be a pointer of type timer class. Hence, left side of the statement will be as follows.
Timer* timePtr
Now, to create an object in a dynamic way, we use new operator in C++. And at last, we need to call the constructor to create the object. So, the full statement will be as follows:
Timer* timePtr = new Timer (10, 20);
b)
//c++ code : a:
#include <iostream>
using namespace std;
class Timer
{
public:
int hr;
int minute;
Timer(int h,int min)
{
h=h+min/60;
min=min%60;
hr=h;
minute=min;
}
};
int main()
{
Timer *t=new Timer(10,20);
cout<<"Time : "<<t->hr<<" hr :"<<t->minute<<" min"<<endl;
return 0;
}
c)
//c++ code for b, c:
#include <iostream>
#include <stdlib.h>
#include <time.h>
using namespace std;
int* randfun_alloc(int n)
{
srand (time(NULL));
int *arr=new int[n];
for(int i=0;i<n;i++)
arr[i]=rand()%1000;
return arr;
}
int main()
{
int n;
cin>>n;
int *arr =randfun_alloc(n);
for(int i=0;i<n;i++)
cout<<arr[i]<<" ";
cout<<endl;
delete[] arr;//delete the allocated array
return 0;
}
Documents: bash Konsole File Edit View Bookmarks Settings Help raushan-HP-2000-Notebook-PC /Documents > g++ randarr.c