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

Syntax error at line strcmp.....

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the newline escape sequence?

1062


Can we replace the struct function in tree syntax with a union?

1290


What is a nested loop?

1110


What is #include stdio h and #include conio h?

1090


What is difference between structure and union with example?

1039


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

1128


Subtract Two Number Without Using Subtraction Operator

828


Explain low-order bytes.

1016


What is the difference between volatile and const volatile?

977


How can I read/write structures from/to data files?

955


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

4272


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1831


Do you know the use of fflush() function?

1049


What is pointer to pointer in c with example?

1048


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1374