MCQOPTIONS
Saved Bookmarks
| 1. |
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» C. Error | |