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

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 / rishab

Answer is 0, if you will correct the syntax

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

1919


difference between native and cross compilers

2138


What is meant by initialization and how we initialize a variable?

1056


plz let me know how to become a telecom protocol tester. thank you.

2192


What is the use of sizeof?

1022


write a program to print largest number of each row of a 2D array

2328


Explain which function in c can be used to append a string to another string?

1095


Why do we use pointer to pointer in c?

1091


What are data types in c language?

1062


What is the difference between ++a and a++?

1221


What are the types of data files?

1206


How arrays can be passed to a user defined function

1029


When is a null pointer used?

1122


What is meant by int main ()?

1213


Between macros and functions,which is better to use and why?

2231