subject

5. Assume the following declarations: char name[21]; char yourName[21]; char studentName[31]; Mark the following statements as valid or invalid. If a statement is invalid, explain why. a. cin >> name; b. cout << studentName; c. yourName[ 0] = '\0'; d. yourName = studentName; e. if (yourName == name) studentName = name; f. int x = strcmp(yourName, studentName); g. strcpy(studentName, name); h. for(intj=0;j<21;j++) cout << name[j];

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Annie is creating a corporate report for a company’s annual meeting. in the report, she wants to add the signature of various department heads. which device can annie use to capture signatures to include in the report? a. printer b. monitor c. e-reader d. digitizing tablet
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
Awide variety of “ apps “ are available to customize devices. which category of app does the word processing software fall into?
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
Kenny works with an it company. his company is about to launch new software in the market. he has to ensure that this new software is functional and meets all of the quality standards set up at the planning stage. which job profile is kenny likely to have? kenny is likely to have the job profile of a blank .
Answers: 2
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
You know the right answer?
5. Assume the following declarations: char name[21]; char yourName[21]; char studentName[31]; Mark t...
Questions
question
Mathematics, 17.03.2021 23:50
question
History, 17.03.2021 23:50
question
Mathematics, 17.03.2021 23:50
question
Mathematics, 17.03.2021 23:50
question
Mathematics, 17.03.2021 23:50
Questions on the website: 13722362