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 Posted / 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 |
Post New Answer View All Answers
How do I use void main?
How do you print an address?
What is the use of clrscr?
What are the different file extensions involved when programming in C?
Can include files be nested?
What is c variable?
Is int a keyword in c?
Do you know pointer in c?
What is time null in c?
how we can make 3d venturing graphics on outer interface
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
Explain what is page thrashing?
What are extern variables in c?
Describe the header file and its usage in c programming?
What are the scope of static variables?