JiWilliams3547 JiWilliams3547
  • 25-12-2020
  • Computers and Technology
contestada

Write query to display 5 characters from the 2 nd left character onwards of the string ‘Practices'.

Respuesta :

PhantomWisdom PhantomWisdom
  • 28-12-2020

The following code is in C++

#include<iostream>

using namespaces std;

int main( ){

    char c[] = "Practices";

    for( int i =1 ; c[i] != '\0' ; c++ )

    {    

         cout<<c[i];

    }

    return 1;

}

The following code will print : ractices .

Hence, this is the required solution.

Answer Link

Otras preguntas

The equilibrium constant for the reaction of hydrogen gas and oxygen gas to produce water at 500 k is 2.4 × 1047. what does the magnitude of the equilibrium con
Observation:most plants have green leaves
How many ducks can fit in a duck pond if there are 24 ducks and 10 lakes
He equation of line m is 4x+5y=?2. What is the slope of a line that is perpendicular to line m? Enter your answer in the box.
Which northern European renaissance artist painted portraits of the royal household of king henry VIII? In the porch rich he was able to reveal each subjects pe
Math help please 24 points
How did American imperialism change the United States in the early 1900s?
What is skepticism?a new scientific ideabeing interested in new or different ideasa general agreement among scientists about a scientific ideathe understanding
The ratio to boys to girls in a class is 4:5 what fraction of the class are boys?
Solve for x a. 2/3x=11/6 b. 3/4 divided by x=1/3