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 / jitendra kumar arya
c)0
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is calloc() function?
What is #define size in c?
Explain the difference between #include "..." And #include <...> In c?
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
how to count no of words,characters,lines in a paragraph.
what is the different bitween abap and abap-hr?
What are the advantages and disadvantages of c language?
What is wrong in this statement? scanf(ā%dā,whatnumber);
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
Is return a keyword in c?
What is storage class?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
how to find binary of number?
How can I read in an object file and jump to locations in it?