Skip to content

Instantly share code, notes, and snippets.

@ChimeraCoder
Created November 8, 2013 04:04
Show Gist options
  • Save ChimeraCoder/7366118 to your computer and use it in GitHub Desktop.
Save ChimeraCoder/7366118 to your computer and use it in GitHub Desktop.
mutt-helios-1000-20302-19161195591707227032 serverauth.y9zBW5cRoT
#include <stdio.h>
typedef struct T T;
struct T {
int x;
int y;
};
int main()
{
T ap = {1, 2};
T* a = &ap;
T b = *a;
b.x = 3;
printf("%d", b.x);
printf("%d", (*a).x);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment