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

A point of view influenced by opinion is known as
How to write 230,000,000,000 in scientific notation.
All of the following are reasons given for why people do not vote except.
When you are using goggles or a face mask under water, everything appears enlarged.
The area of a rectangle is 4.9 square units. The length is 2.5 units and the width is y units. What is the value of y?
what is the setting for "the three brass pennies"
Sir walter can best be described as one who values personal beauty second only to title
During each sports event the arena holds a competition to win a t-shirt. 5,000 people attend a match and 50 people win a t-shirt. Select which of the following
Why is it difficult to measure diameter accurately
Complete this sentence. The solubility of a sample will ____________ when the size of the sample increases. A: stay the same B: decrease C: increase D: be u