D. consider how long you plan to keep your money in the investment.
Answer:
Exceptions are raised using throw statement in c++.
Explanation:
Try block is used to keep the statements which we felt that they will raise an exception. Catch block is used to catch the exception which is thrown by the try block.
#include<iostream.h>
void main(){
int x,y,z;
try{
cout<"enter 2 numbers";
cin>>x>>y;
if(y==0)
throw y;
z=x/y;
}
catch(int x){
cout<<"exception caught";
}
}
Answer: natural Language Processing
Explanation:
Natural Language Processing: It is a sub field of linguistics which is concerned with the interactions between Human and computer especially how to program computers to process and to understand large amounts of natural language data.
Step 1: Create the message was frank's error in sending a file to an e-mail. This is because, when sending a copy of an e-mail the sender must make sure to input the e-mail address of the receiver on the top of the message box. This way the sender will be sure to submit his attachment to the receiver properly.
Answer:
The correct option for the given question is option(B) i.e dot operator
Explanation:
Structure are collection of different datatypes member element .
Let us consider the example of structure
Struct test
{
int age ;
char name[45];
};
Here test is an "structure" which member is age of "integer" type and name of "String" type.if we have to access the member of structure,firstly we create structure variable name then after that we use dot operator which is also known as member access operator that access the members of structure.
struct test op;// structure variable name
op.age=12; // access the member age
For example
Following is the code in c language :
#include <stdio.h> // header file
struct test // structure declaration
{
int age ;
char name[45];
};
int main() // main function
{
struct test op;// structure variable name
op.age=12; // access the member age
printf("%d",op.age);
return 0;
}
Output:12
so correct answer is "dot operator"