wat is the output
int main()
{
char s1[]="Hello";
char s2[]="Hello";
if(s1==s2)
printf("Same");
else
printf("Diff");
}
Answers were Sorted based on User's Feedback
You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
What is a header file?
What is call by reference in functions?
What is array within structure?
1)what are limitations for recursive function? 2)write a program to read a text file and count the number of characters in the text file
write function to reverse char array ... without using second array
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
what is the size of an integer variable?
program to print upper & lower triangle of a matrix
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?