What is the output for the following program

#include<stdio.h>
main()
{
char a[5][5],flag;
a[0][0]='A';
flag=((a==*a)&&(*a==a[0]));
printf("%d\n",flag);
}

Answer Posted / chanda_ni

1

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string function in c?

529


What does the error message "DGROUP exceeds 64K" mean?

720


Why isn't any of this standardized in c? Any real program has to do some of these things.

621


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

759


What are the different types of C instructions?

669






can any one tel me wt is the question pattern for NIC exam

1551


#include { printf("Hello"); } how compile time affects when we add additional header file .

1419


When c language was developed?

632


What is the scope of local variable in c?

572


What is c standard library?

687


How arrays can be passed to a user defined function

570


What is pass by reference in functions?

318


Why does this code crash?

612


What happens if header file is included twice?

650


What is enumerated data type in c?

617