What will be the output of this following program? #include<stdio.h> #include<string.h> int main(int argc, const char *argv[]){ int result; char…
What will be the output of this following program?
#include<stdio.h>
#include<string.h>
int main(int argc, const char *argv[]){
int result;
char example1[150];
char example2[50];
strcpy(example1, "C Programming at TechOnTheNet.com");
strcpy(example2, "C Programming is fun");
result = strcmp(example1, example2);
printf("%d", result);
return 0;
}From the BUET MSC (CSE) 2018 – Written exam, question 5 of 15.