wat is the output
int main()
{
char s1[]="Hello";
char s2[]="Hello";
if(s1==s2)
printf("Same");
else
printf("Diff");
}
Answer Posted / sumesh
ITS A WRONG METHOD TO COMPARISON OF TWO STRINGS..SO OUTPUT WILL BE CAN NOT CONVERT int * TO char *.
THANKS...
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is %d called in c?
Is c still used?
int far *near * p; means
Explain the process of converting a Tree into a Binary Tree.
Explain the meaning of keyword 'extern' in a function declaration.
What is function what are the types of function?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
Are bit fields portable?
Why c is a mother language?
What is the importance of c in your views?
How can I find the modification date and time of a file?
What are the different types of control structures?
What is the difference between fread buffer() and fwrite buffer()?
What are the types of pointers?
What is character constants?