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 / ayyanar.m
garbage
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the use of function toupper() with and example code?
What is the argument of a function in c?
How to Throw some light on the splay trees?
Write a Program to accept different goods with the number, price and date of purchase and display them
What are linked lists in c?
How can I delete a file?
How do you print an address?
What are the usage of pointer in c?
How macro execution is faster than function ?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Is javascript written in c?
How do I read the arrow keys? What about function keys?
What are the advantages of Macro over function?
What are different types of variables in c?