ADITI
Company
Programming
Program
Q. What is the output for the following program
#include
main()
{
char a[5][5],flag;
a[0][0]='A';
flag=((a==*a)&&(*a==a[0]));
printf("%dn",flag);
}
Read Solution (Total 4)
-
- i think 1n will be answer
- 10 years agoHelpfull: Yes(2) No(0)
- output is 1
- 10 years agoHelpfull: Yes(1) No(0)
- output 1.........
- 10 years agoHelpfull: Yes(0) No(0)
- 1 because the condition is true
- 10 years agoHelpfull: Yes(0) No(0)
ADITI Other Question