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
Explain what is the benefit of using an enum rather than a #define constant?
Explain what is the difference between functions getch() and getche()?
Why we use void main in c?
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
What are the types of macro formats?
Is using exit() the same as using return?
What is property type c?
What is scope of variable in c?
What is a protocol in c?
Explain how can you determine the size of an allocated portion of memory?
What is the use of a static variable in c?
Which type of language is c?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
What is the difference between a function and a method in c?
What is the difference between typedef and #define?