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

write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1775


Why double pointer is used in c?

559


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2253


What are enums in c?

649


Why does everyone say not to use scanf? What should I use instead?

674






the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

1790


Is there any data type in c with variable size?

623


Why we use stdio h in c?

568


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

612


What is the size of a union variable?

588


How can I do peek and poke in c?

608


What are the characteristics of arrays in c?

602


Describe the steps to insert data into a singly linked list.

612


Tell me with an example the self-referential structure?

557


Is main is a keyword in c?

597