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

Russ has two jars of glue . One jar is 1/3 full the other is 2/5 full use the fractions to write an equation to find the amount of glue Russ has
Which aid might you use to find your principal on the faculty phone list?
Hotel companies are increasingly opting for ________ because considerably less capital is tied up in managing as compared to ownership.
What statement best describes the Cold War?
An unknown substance has a ph of 6. what is the best description of this substance? *
The point_____? Is on the graph of the function
describe the slope intercept form and each part it contains
Which sentence has an unclear or missing pronoun antecedent? A. I want to visit Nepal because the landscape will be amazing to you. B. The area is famous for it
Matrices C and D shown below are equal. C= [ 4 -3 8 9.2 D d11 d12 d13 d14 1.2 -6 5 1 d21 d22 d
Please help 1-6 thanks