Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between fread and fwrite function?

1033


What is a volatile keyword in c?

1111


What is the benefit of using #define to declare a constant?

1043


What is this infamous null pointer, anyway?

987


What are register variables? What are the advantage of using register variables?

1125


Can stdout be forced to print somewhere other than the screen?

1013


What is the purpose of void in c?

991


What are directives in c?

923


what are the facialities provided by you after the selection of the student.

2175


formula to convert 2500mmh2o into m3/hr

941


What are the back slash character constants or escape sequence charactersavailable in c?

1122


What is bin sh c?

986


How many levels of pointers have?

987


How can I open files mentioned on the command line, and parse option flags?

1014


Explain how do you view the path?

1085