first of all the
-> statement.
using ralloc and malloc.
And using structures.
the structure question i'm wondering is just what this line means:
#include <stdio.h>
int main(void)
{
struct point
{
int x;
int y;
} [B][I]x = {1, 2}, y = {3, 4};[/I][/B] //this line
printf("%d, %d, %d, %d\n", x.x, x.y, y.x, y.y);
}


Sign In
Create Account


Back to top










