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
What is bss in c?
How can I dynamically allocate arrays?
What is a header file?
What are operators in c?
What's the best way of making my program efficient?
The file stdio.h, what does it contain?
What are pointers?
Is there a way to switch on strings?
What does %p mean?
What does c value mean?
What is the advantage of an array over individual variables?
How to declare pointer variables?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
Is that possible to add pointers to each other?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10