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 / guest
Syntax error at line strcmp.....
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How will you write a code for accessing the length of an array without assigning it to another variable?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
What is double pointer in c?
What is a shell structure examples?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Is using exit() the same as using return?
What is the significance of an algorithm to C programming?
What is the use of pragma in embedded c?
Can a pointer be static?
What is the advantage of a random access file?
What is the difference between void main and main in c?
How can I find the modification date of a file?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
What is malloc() function?