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
Explain how do you convert strings to numbers in c?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is the concatenation operator?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
How can I generate floating-point random numbers?
What is scanf_s in c?
What does the c in ctime mean?
What are the Advantages of using macro
What is a lvalue
What is volatile keyword in c?
Write a program to print numbers from 1 to 100 without using loop in c?
What is pass by reference in functions?
What are terms in math?
Why c is called object oriented language?
application attempts to perform an operation?