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 should malloc() do?

631


Which one would you prefer - a macro or a function?

590


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

1492


How can you avoid including a header more than once?

553


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

611






What are identifiers and keywords in c?

558


Is the exit() function same as the return statement? Explain.

650


What is the difference between null pointer and wild pointer?

625


how do you programme Carrier Sense Multiple Access

1508


How can you allocate arrays or structures bigger than 64K?

673


Explain how can a program be made to print the line number where an error occurs?

680


Explain how can a program be made to print the name of a source file where an error occurs?

668


What are the 5 elements of structure?

553


What is malloc return c?

588


What is pre-emptive data structure and explain it with example?

3197