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 static function in c?

641


how could explain about job profile

1462


How can I generate floating-point random numbers?

615


Write the control statements in C language

664


When should volatile modifier be used?

562






"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

621


What is a lvalue

670


Why does everyone say not to use gets?

614


write a programming in c to find the sum of all elements in an array through function.

1716


Can we add pointers together?

626


What is const keyword in c?

757


What is array of pointers to string?

578


What are the preprocessor categories?

647


What are variables c?

634


Write a program to swap two numbers without using third variable in c?

626