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 / raja
answer is 0....ie the right option is (C)
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What are called c variables?
What is a const pointer in c?
What does it mean when the linker says that _end is undefined?
How can I recover the file name given an open stream?
What is 2c dna?
Can the “if” function be used in comparing strings?
Why & is used in scanf in c?
What is difference between structure and union with example?
Do you have any idea how to compare array with pointer in c?
How is actual parameter different from the formal parameter?
What are the basic data types associated with c?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
how many errors in c explain deply
Write a program to print fibonacci series using recursion?
Where define directive used?