Answer:
Arithmetic Exception is the correct answer to the following blank.
Explanation:
Because the BigDecimal class is the class of the Java Programming Language that deal with the double data type numbers for the arithmetic expressions and also for the format conversions and it is the math type class of the Java Programming language which is used in arithmetic operations. So, that's why the following answer is not wrong.
Answer:
Working with text in presentation programs is similar to working with text in other application, audience size influences font size, and font size and font color can be changed in presentations.
Answer:
The answer to this question is given below is the explanation section.
Explanation:
"A" option is correct
It helps the router know where to send the packet.
Answer:
#include <iostream>
using namespace std;
int main()
{
char fullname[30];
string fname="",lname="";
int i,j;
cout<<"Enter fullname\n";
cin.getline(fullname,30); //so that blank can be read
for(i=0;fullname[i]!=' ';i++)
fname+=fullname[i]; //fistname will be saved
cout<<"\n";
for(j=i;fullname[j]!='\0';j++)
lname+=fullname[j]; //lastname will be saved
cout<<"\nFirstname : "<<fname<<"\nLastname : "<<lname;
return 0;
}
OUTPUT :
Enter fullname
John thomson
Firstname : John
Lastname : thomson
Explanation:
cin.getline() should be used instead of cin in case of strings so that space can be read otherwise after blank string will be ignored.