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 will be maximum number of comparisons when number of elements are given?

1668


how many key words availabel in c a) 28 b) 31 c) 32

830


What is variable declaration and definition in c?

700


the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset

875


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

843


What are the salient features of c languages?

862


How many header files are in c?

759


Tell me can the size of an array be declared at runtime?

812


In which layer of the network datastructure format change is done

1650


all c language question

2180


What are the differences between new and malloc in C?

823


What is mean by data types in c?

764


Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

832


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

891


What is bubble sort in c?

834