You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-09-16 05:01:55
C Language Arrays And Strings Program:
C Programming Quizzes C Language Arrays And Strings
Directions:
What will be the output of the following program?
Question:
void main()
{
char str1[] = "abcd";
char str2[] = "abcd";
if(str1==str2)
printf("Equal");
else
printf("Unequal");
}
Option A):
Unequal
Option B):
Error
Option C):
Equal
Option D):
None
Correct Answer is Option A):
Unequal
Failure is the first step towards seccess.
Offline
2015-09-16 05:01:55
- Advertisement
- Ads By Google
Re: C Language Arrays And Strings Program:
\n