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 / sri
output is 1 but this prg display 2 warning (ie) Nonportable
pointer comparsion
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Explain what is a static function?
explain how do you use macro?
What are header files and what are its uses in C programming?
What is auto keyword in c?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What is structure in c definition?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
Why c language?
What does the error message "DGROUP exceeds 64K" mean?
Why main is not a keyword in c?
Explain how can I open a file so that other programs can update it at the same time?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
How many types of sorting are there in c?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
Why flag is used in c?