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
How are structure passing and returning implemented?
Why does notstrcat(string, "!");Work?
What is difference between main and void main?
Differentiate between new and malloc(), delete and free() ?
Explain can static variables be declared in a header file?
Explain what is dynamic data structure?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
Explain bit masking in c?
How many main () function we can have in a project?
Which one would you prefer - a macro or a function?
how do you programme Carrier Sense Multiple Access
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Is c is a low level language?
Can a void pointer point to a function?