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

Explain how are portions of a program disabled in demo versions?

842


What is the difference between %d and %i?

780


Tell me is null always defined as 0(zero)?

816


What is array in c with example?

850


What are the differences between Structures and Arrays?

821






What is property type c?

820


write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

2506


What is the difference between exit() and _exit() function?

768


What is pointer & why it is used?

786


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1030


how to find binary of number?

3874


When should you use a type cast?

789


writ a program to compare using strcmp VIVA and viva with its output.

1751


What are the advantages and disadvantages of pointers?

792


what will be maximum number of comparisons when number of elements are given?

1631