Answer:
// here is code in java.
// import package
import java.util.*;
// class definition
class Main
{
// main method of the class
public static void main (String[] args) throws java.lang.Exception
{
try{
// print the name
System.out.print("my name is Sam. ");
// print the major
System.out.print("my major is CS.");
}catch(Exception ex){
return;}
}
}
Explanation:
In java, System.out.print() will print the statement but didn't go to the next line.If there is another System.out.print(), then it will also print into the same line.So here first the System.out.print() will print the name and second will print the major in the same line.
Output:
my name is Sam. my major is CS.
Answer:
The answer is "Option b".
Explanation:
This is the book of the liturgical manuscript for the catholic churches, which is the four Scriptural texts now in Cambridge, Dublin, and Ireland. It is the job, which is known for the sophistication, accuracy, and elegance of that same paintings in the Classically illustrated scripts. It was been built between 800 AD by Celtic monks to build vellum 185 calves had been killed, and the incorrect option can be defined as follows:
- In option a, This book is not used in the printing press.
- In option c, This book is used in the liturgical manuscript.
False because it might damage it more but if it was recommended by lots of people i mean the software then its true
Answer:
The code is not dereferencing the pointers. You have to place an asterisk in front of the pointer to read the value the pointer points to.
Explanation:
So "if (str1 != str2)" must be "if (*str1 != *str2)".
likewise:
while (*str1 != 0 && *str2 != 0)
and
result = (*str1 == *str2);