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...

11. Look at the Code:
#include<string.h>
void main()
{
char s1[]="abcd";
char s2[10];
char s3[]="efgh";
int i;
clrscr();
i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd"));
printf("%d",i);
}

What will be the output?
A)No output B) A Non Integer C)0 D) Garbage

Answer Posted / raja

answer is 0....ie the right option is (C)

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a pointer point to null?

1065


which type of aspect you want from the student.

2162


How do you initialize pointer variables?

1097


What is a pointer on a pointer in c programming language?

1139


What is int main () in c?

1085


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

1061


Is it fine to write void main () or main () in c?

1025


Explain what is a stream?

1084


Write a program for Overriding.

1158


What is the stack in c?

1133


How are structure passing and returning implemented?

1035


what is the height of tree if leaf node is at level 3. please explain

2150


How can I implement sets or arrays of bits?

1045


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

3092


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1716