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
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
find the sum of two matrices and WAP for it.
code for find determinent of amatrix
Is c language still used?
Why shouldn’t I start variable names with underscores?
What is 2 d array in c?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What is a struct c#?
Can we increase size of array in c?
Write a Program to find whether the given number or string is palindrome.
Explain what is the advantage of a random access file?
Explain goto?
Does c have enums?
Which of these functions is safer to use : fgets(), gets()? Why?
What are the different types of control structures in programming?