Question: c++ 6 The following code has some mistakes. Please correct them 1 #include 2 using namespace std; 3 #include 4 include 6 int main() char

c++

c++ 6 The following code has some mistakes. Please correct them 1

6 The following code has some mistakes. Please correct them 1 #include 2 using namespace std; 3 #include 4 include 6 int main() char time 1201, tokenptr; int hour, minute, second 12 13 15 16 cout > time; hour - strtok (time, ":"); minute - strtok (time, "."> second = strtok (time, "."); cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!