Computer Science, asked by vikky5105, 1 year ago

What will be the output of the following program?

void main() { char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal"); }
A.Equal
B.Unequal
C.Error
D.None of these.

Answers

Answered by Neeraj723
0
Hii dear here is your answer


option b is the correct answer

Hope it's help u
Answered by MoonGurl01
6
Hey mate,☺☺☺

Here is your answer...✨✨✨

➡➡➡➡➡➡➡➡➡➡➡➡➡

QUESTION:

What will be the output of the following program?

void main() { char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal"); }
A.Equal
B.Unequal
C.Error
D.None of these.

ANSWER:

Option 【B】Unequal

✔✔✔✔✔✔✔✔✔✔✔✔✔

Hope this will help you...✨✨✨

Keep Asking..✌✌✌

❤❤❤ If helps you, Mark my answer as Brainliest....❤❤❤
Similar questions