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 is a macro?
Are the outer parentheses in return statements really optional?
What are operators in c?
Can variables be declared anywhere in c?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
Explain what is the difference between #include and #include 'file' ?
What is scope of variable in c?
Who invented bcpl language?
What is the difference between procedural and functional programming?
What language is windows 1.0 written?
Write a program to find the biggest number of three numbers in c?
Give me the code of in-order recursive and non-recursive.
What is the difference between local variable and global variable in c?
How do I round numbers?