Certainly! Here's an example that demonstrates the usage of a structure:
#include <stdio.h>
struct Point {
int x;
int y;
};
int main() {
struct Point p1;
p1.x = 3;
p1.y = 5;
printf("Coordinates: (%d, %d)\n", p1.x, p1.y);
return 0;
}
In this example, we define a structure called Point with x and y as its members. We then declare a structure variable p1 and assign values to its members. Finally, we print the coordinates using printf.