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 cost of N people staying in a motel is given by the formula: Cost ($) =75+15N a) Find the cost for 3 people b) Find the cost for 1 person c) Find the cost f
in what ways did reform movement benefits from the contribution of both men and women
the Spanish American war helped the United States
A cylindrical can holds 500 mL and has a radius of 4 cm. Calculate the height of the can, to the nearest tenth of a centimetre.
the right to petition members of the government is contained in the blank amendment to the constitution.
A photographer’s camera sits on a tripod that is 1.8 m above the ground. The base of the tripod is 44 m from the base of a tree. The photographer spots a woodp
why was acquiring Guam important for the United States in the Spanish American war
beginning in 1996, a glacier lost an average of 3.7 meters of thickness each year. find the total change in its thickness by the end of 2012.
how does a stratovolcano form
how do you say 'or' in French?