wat is the output
int main()
{
char s1[]="Hello";
char s2[]="Hello";
if(s1==s2)
printf("Same");
else
printf("Diff");
}
Answer Posted / prachi
ans is diff
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What is the difference between int main and void main?
How do you declare a variable that will hold string values?
When should the const modifier be used?
Do you know the difference between malloc() and calloc() function?
Explain modulus operator. What are the restrictions of a modulus operator?
In C language, a variable name cannot contain?
Explain why c is faster than c++?
What is the difference between text and binary modes?
Which header file is used for clrscr?
How many types of operator or there in c?
how to construct a simulator keeping the logical boolean gates in c
What is the difference between typedef struct and struct?
Can the size of an array be declared at runtime?
What is an lvalue?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?