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 / kuldeep singh
undefined function call as ctrcpy() and , missing in
function strcmp()
after editing we get 0 answer............
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Write a program to print numbers from 1 to 100 without using loop in c?
#include
I have seen function declarations that look like this
Do string constants represent numerical values?
How do I create a directory? How do I remove a directory (and its contents)?
in iso what are the common technological language?
Explain the use of bit fieild.
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
if p is a string contained in a string?
Tell us bitwise shift operators?
What is a pointer variable in c language?
What is pass by reference in functions?
What is getch c?
What are global variables?
Is c is a low level language?