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 / subha
answer:c
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
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 are local static variables?
What is the use of ?: Operator?
main() { printf("hello"); fork(); }
What is meant by recursion?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Explain spaghetti programming?
I came across some code that puts a (void) cast before each call to printf. Why?
How do we make a global variable accessible across files? Explain the extern keyword?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
What is masking?
What are the standard predefined macros?
Explain the advantages and disadvantages of macros.
What is function in c with example?
what is a function method?give example?