11. 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 / student
In that Program
i=strcmp(strcat(s3,strcpy(s2,s1),strcat(s3,"abcd"));
then it results 0
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are high level languages like C and FORTRAN also known as?
Why can't I perform arithmetic on a void* pointer?
Which function in C can be used to append a string to another string?
What is indirection in c?
Can a pointer be null?
What is multidimensional arrays
how do you execute a c program in unix.
What is the process to generate random numbers in c programming language?
What are the types of operators in c?
What are the __date__ and __time__ preprocessor commands?
Define macros.
Explain about the constants which help in debugging?
Lists the benefits of c programming language?
Explain argument and its types.
Is null equal to 0 in sql?