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

What is the answer To the problem
At what point did the black panthers believe that african americans would become "free"?
Evaluate 8r-rs8r−rs8, r, minus, r, s when r=6r=6r, equals, 6 and s=5s=5s, equals, 5.
What types of carbon based molecules are the source for most of the energy in the foods you eat what energy is stored in these molecules?
Richard nixon believed he lost the 1960 presidential election because
The first period of art during the Middle Ages was known as this.
what kind of monomers make up a carbohydrate?what elements are present in carbohydrates?what do we use carbohydrates for
younger than 18 old;less important
Use substitution to solve the system of equations. y = −2x x − 3y = 21 (3, 4) (−6, 12) (3, −6) (−2, −6)
Why did world war i transform western civilization so profoundly?