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 / ayyanar.m
garbage
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a far pointer in c?
Is int a keyword in c?
what is the difference between class and unio?
explain how do you use macro?
Why doesnt this code work?
What does %d do?
All technical questions
Write a program that accept anumber in words
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
What are control structures? What are the different types?
What is the scope of an external variable in c?
What are the different data types in C?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
Write a program to know whether the input number is an armstrong number.
How can I automatically locate a programs configuration files in the same directory as the executable?