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
Difference between malloc() and calloc() function?
What is the use of a semicolon (;) at the end of every program statement?
Why do we use return in c?
How can I copy just a portion of a string?
Explain output of printf("Hello World"-'A'+'B'); ?
using for loop sum 2 number of any 4 digit number in c language
write a program in c language to print your bio-data on the screen by using functions.
What is structure in c explain with example?
Explain what is the difference between a free-standing and a hosted environment?
Are bit fields portable?
Differentiate Source Codes from Object Codes
Subtract Two Number Without Using Subtraction Operator
Define circular linked list.
Explain what is the benefit of using #define to declare a constant?
What are the main characteristics of c language describe the structure of ac program?