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 / rishab
Answer is 0, if you will correct the syntax
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Does free set pointer to null?
What is the use of linkage in c language?
Can you assign a different address to an array tag?
What is a class c rental property?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
Why does not c have an exponentiation operator?
Explain how can you restore a redirected standard stream?
What does %d do?
How do I create a directory? How do I remove a directory (and its contents)?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
what is use of malloc and calloc?
What is the sizeof () operator?
The statement, int(*x[]) () what does in indicate?
Why array is used in c?
Explain what is the difference between functions getch() and getche()?