wat is the output
int main()
{
char s1[]="Hello";
char s2[]="Hello";
if(s1==s2)
printf("Same");
else
printf("Diff");
}

















Answer Posted / jitendra nath das

Ans is Diff.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I write a function that takes a format string and a variable number of arguments?

598


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

1757


When should a type cast not be used?

620


Explain the concept and use of type void.

619


What does malloc () calloc () realloc () free () do?

548






Explain what are header files and explain what are its uses in c programming?

621


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

644


How can I sort more data than will fit in memory?

619


What are the characteristics of arrays in c?

605


Explain threaded binary trees?

670


please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics

2854


Explain what are reserved words?

630


What are data types in c language?

578


Write a program in c to replace any vowel in a string with z?

680


What are header files and explain what are its uses in c programming?

603