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

1

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a pointer be static?

224


What is difference between && and & in c?

187


Dont ansi function prototypes render lint obsolete?

207


If the size of int data type is two bytes, what is the range of signed int data type?

205


What oops means?

199






What does nil mean in c?

195


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

261


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

275


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

1218


What is the use of structure padding in c?

207


What are loops c?

211


a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

4010


Is c a great language, or what?

244


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

3881


If null and 0 are equivalent as null pointer constants, which should I use?

207