Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume that str 1 and str 2 are variables of type C - string. The proper expression to use when comparing them for equality is

Assume that str1 and str2 are variables of type C-string. The proper expression to use when comparing them for equality is q,
a.str1=str2.
b.str1==str2.
c.strcmp(str1,str2)==0.
d. str1.compare(str2).
e. None of the above
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Power Of Numbers In Health Care A Students Journey In Data Analysis

Authors: Kaiden

1st Edition

8119747887, 978-8119747887

More Books

Students also viewed these Databases questions

Question

Employ effective vocal cues Employ effective visual cues

Answered: 1 week ago