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

Will give brainlist to the best answer if possible!! 10 points please help Solve the system of equations by graphing.
8. a. Schumann would eventually go insane and die in an asylum in 1856 b. 1453 C. 2002 d. 1890​
Sea-level pressure, estimated based on dropwindsonde data, is included below the longitude axis. At that time, the lowest mean sea-level pressure (MSLP) was ___
Last week, Harry ran 5 laps around the lake. Sophia ran 1 5/6 times as many laps around the lake as Harry did. How many laps around the lake did Sophia run?
Which of the following is the equation of the function below?
Would be appreciated if anyone could please solve!!:)
Two atoms interact with each other and change as shown by the equation Complete the equation by filling in the missing parts.
Why does Australia have a wide variety of unique wildlife species?​
Who is Elrond in the hobbit
How many times as fast does helium (He) effuse compared to oxygen?