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 the expression “++a” and “a++”?
What is a void * in c?
Which of these functions is safer to use : fgets(), gets()? Why?
How would you obtain the current time and difference between two times?
How was c created?
Which function in C can be used to append a string to another string?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
How many levels of indirection in pointers can you have in a single declaration?
What is the difference between class and object in c?
Write a program to find the biggest number of three numbers in c?
Explain b+ tree?
What is new line escape sequence?
Explain the priority queues?
Can an array be an Ivalue?
Explain what are binary trees?