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

How do I use void main?

1149


How do you print an address?

1327


What is the use of clrscr?

1160


What are the different file extensions involved when programming in C?

1347


Can include files be nested?

1162


What is c variable?

1102


Is int a keyword in c?

1041


Do you know pointer in c?

1111


What is time null in c?

1113


how we can make 3d venturing graphics on outer interface

4904


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

2234


Explain what is page thrashing?

1163


What are extern variables in c?

1044


Describe the header file and its usage in c programming?

1111


What are the scope of static variables?

1258