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 / jyothi

it gives syntax error

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you use the functions fseek(), freed(), fwrite() and ftell()?

944


can any one provide me the notes of data structure for ignou cs-62 paper

1936


What is a method in c?

849


How many identifiers are there in c?

801


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

15523


Is fortran still used today?

829


Explain how can I make sure that my program is the only one accessing a file?

942


What is a volatile keyword in c?

924


How many bytes are occupied by near, far and huge pointers (dos)?

941


Why is it usually a bad idea to use gets()? Suggest a workaround.

1390


What is the maximum no. of arguments that can be given in a command line in C.?

921


C language questions for civil engineering

1498


What are linker error?

870


Explain what are the standard predefined macros?

911


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2273