Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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 / jaya prakash

0

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an example of structure?

202


Why static variable is used in c?

179


How to get string length of given string in c?

228


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

256


What does the error 'Null Pointer Assignment' mean and what causes this error?

274






Explain how do you view the path?

239


what is use of malloc and calloc?

1011


Which are low level languages?

194


Can you please compare array with pointer?

229


How variables are declared in c?

180


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

293


What is the difference between union and structure in c?

190


Difference between Function to pointer and pointer to function

234


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜nā€™ element.

1174


Are c and c++ the same?

231