Ep 10
Ep 10
STRING OPERATIONS
AIM:
To create C programs that utilizes the String Operations in array to read data from the keyboard
and to display data on the computer monitor.
1. Write a C program to compare strings using strncmp.
PROGRAM:
RESULT:
PROGRAM:
RESULT:
PROGRAM:
RESULT:
PROGRAM:
RESULT:
PROGRAM:
RESULT:
PROGRAM:
RESULT:
PROGRAM:
RESULT:
RESULT:
PROGRAM:
RESULT:
RESULT:
The C programs that utilize the Pointers libraries to read data from the keyboard and to display
data are successfully executed and the output is verified.