- #include <stdio.h>
- #include <string.h>
- void main(void)
- {
- printf("Comparing Abc with Abc %dn", strcmp("Abc", "Abc"));
- printf("Comparing abc with Abc %dn", strcmp("abc", "Abc"));
- printf("Comparing abcd with abc %dn", strcmp("abcd", "abc"));
- printf("Comparing Abc with Abcd %dn", strcmp("Abc", "Abcd"));
- }