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
Can a pointer point to null?
which type of aspect you want from the student.
How do you initialize pointer variables?
What is a pointer on a pointer in c programming language?
What is int main () in c?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
Is it fine to write void main () or main () in c?
Explain what is a stream?
Write a program for Overriding.
What is the stack in c?
How are structure passing and returning implemented?
what is the height of tree if leaf node is at level 3. please explain
How can I implement sets or arrays of bits?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.