Answer:
cience
Explanation:
From the question, the string variable str was initialized to "Computer Science:
str.substring(10) implies that we get a substring starting from the character at the 10th index till the last index
In this case, the 10th index character is c
So, the instruction will return cience
Answer: The differences between ultra-book, tablet and slate PC are mentioned as follows:-
- Ultra-book is the notebook structure thin and slim device whereas tablets are type of computer shaped laptops in small size and slate PC has detachable display screen and is a replacement of tablet .
- Ultra-books have large and handy keyboards, tablets have touchscreen and no keyboard presence whereas slate PC has the touchscreen operated through stylus or fingers.
- Ultra-book have good storage space while tablets and slate PC's have less storage space in comparison.
Answer:
B. #
Explanation:
Every preprocessing directive must begin with the # character.
For example:
#define : Used to define a macro
#ifndef : Conditional evaluation of macro
#include : Used to include other preprocessor header file as part of the code
As we can see each of the directives begins with the # character. This is a signal to the preprocessor to interpret the subsequent keyword as a directive.