Find the O/p of the following
struct node
{
char *name;
int num;
};
int main()
{
struct node s1={"Harry",1331};
struct node s2=s1;
if(s1==s2)
printf("Same");
else
printf("Diff");
}
Answer / sinchan garai
this gives a compile time error.because the coditional
statement "if(s1==s2)" written in the code is not allowable
in C.
Is This Answer Correct ? | 4 Yes | 2 No |
What is the difference between abs() and fabs() functions?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
how to find the kth smallest element in the given list of array elemnts.
What is the total generic pointer type?
What is the difference between void main and main in c?
i want to know the procedure of qualcomm for getting a job through offcampus
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
How do you determine whether to use a stream function or a low-level function?
what is bit rate & baud rate? plz give wave forms
Explain what is gets() function?
Why is c platform dependent?
how to set Nth bit of variable by using MACRO