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

There are 10 runners in race. in how many ways can the first, second and third place finishes occur
A production function shows output that can be produced from
A cylindrical tree trunk is 14 yards high from the ground up to the lowest branch, and it measures 4 yards around. What is the volume of wood in this section of
Which cause of a sexually transmitted disease is hardest to treat?
The price of binders and paper decreases: would the price decrease or increase and would the quantity decrease or increase. Also what would be the determinant (
How to simplify 10P6/10P4
Compare at least two characteristics of mitochondria to prokaryotic cells and explain how this relates to the endosymbiotic theory.
The right of one consul to veto the decision of another is an example of what principle? Plz help
what is the expanded form of the given binomial (5x+9)^2
Plsssssssssssssssssssswsssss