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
0
Hii dear here is your answer
option b is the correct answer
Hope it's help u
option b is the correct answer
Hope it's help u
Answered by
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....❤❤❤
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