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

What is a void pointer? When is a void pointer used?

800


Explain how do you declare an array that will hold more than 64kb of data?

1134


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2385


Is c is a procedural language?

799


what are the different storage classes in c?

842






write a program to display all prime numbers

1637


What are the preprocessor categories?

803


What is scope and lifetime of a variable in c?

748


Is fortran faster than c?

757


why do some people write if(0 == x) instead of if(x == 0)?

814


How do you print an address?

947


What are loops c?

791


What is calloc() function?

832


What is the use of sizeof () in c?

748


Which header file is essential for using strcmp function?

1155