7 replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
source | link

C, 272 247 234 230 144 137 bytes:

(Saved many bytes (272 -> 230) in my previous method thanks to great golfing tips & tricks from sigalorsigalor!)

(Saved nearly 100 bytes (230 -> 144) by switching to a better method.)

main(q,i,e,x){for(q=0;q<51;q++){i=q>25 ? 25-(q-25):q;for(e=65;e<66+i;e++)printf("%c",e);for(x=64+i;x>64;x--)printf("%c",x);printf("\n");}}

My first answer ever in C. I just started self-learning it recently, so let's see how it goes.

C it in Action! (Ideone)

C, 272 247 234 230 144 137 bytes:

(Saved many bytes (272 -> 230) in my previous method thanks to great golfing tips & tricks from sigalor!)

(Saved nearly 100 bytes (230 -> 144) by switching to a better method.)

main(q,i,e,x){for(q=0;q<51;q++){i=q>25 ? 25-(q-25):q;for(e=65;e<66+i;e++)printf("%c",e);for(x=64+i;x>64;x--)printf("%c",x);printf("\n");}}

My first answer ever in C. I just started self-learning it recently, so let's see how it goes.

C it in Action! (Ideone)

C, 272 247 234 230 144 137 bytes:

(Saved many bytes (272 -> 230) in my previous method thanks to great golfing tips & tricks from sigalor!)

(Saved nearly 100 bytes (230 -> 144) by switching to a better method.)

main(q,i,e,x){for(q=0;q<51;q++){i=q>25 ? 25-(q-25):q;for(e=65;e<66+i;e++)printf("%c",e);for(x=64+i;x>64;x--)printf("%c",x);printf("\n");}}

My first answer ever in C. I just started self-learning it recently, so let's see how it goes.

C it in Action! (Ideone)

6 added 33 characters in body
source | link

C, 272 247 234 230 144 137 bytes:

(Saved many bytes (272 -> 230) in my previous method thanks to great golfing tips & tricks from sigalor!)

(Saved nearly 100 bytes (230 -> 144) by switching to a better method.)

main(q,i,e,x){for(q=0;q<51;q++){i=q>25 ? 25-(q-25):q;for(e=65;e<66+i;e++)printf("%c",e);for(x=64+i;x>64;x--)printf("%c",x);printf("\n");}}

My first answer ever in C. I just started self-learning it recently, so let's see how it goes.

C it in Action! (Ideone)

C, 272 247 234 230 144 137 bytes:

(Saved many bytes (272 -> 230) in my previous method thanks to sigalor!)

(Saved nearly 100 bytes (230 -> 144) by switching to a better method.)

main(q,i,e,x){for(q=0;q<51;q++){i=q>25 ? 25-(q-25):q;for(e=65;e<66+i;e++)printf("%c",e);for(x=64+i;x>64;x--)printf("%c",x);printf("\n");}}

My first answer ever in C. I just started self-learning it recently, so let's see how it goes.

C it in Action! (Ideone)

C, 272 247 234 230 144 137 bytes:

(Saved many bytes (272 -> 230) in my previous method thanks to great golfing tips & tricks from sigalor!)

(Saved nearly 100 bytes (230 -> 144) by switching to a better method.)

main(q,i,e,x){for(q=0;q<51;q++){i=q>25 ? 25-(q-25):q;for(e=65;e<66+i;e++)printf("%c",e);for(x=64+i;x>64;x--)printf("%c",x);printf("\n");}}

My first answer ever in C. I just started self-learning it recently, so let's see how it goes.

C it in Action! (Ideone)

5 added 33 characters in body
source | link

C, 272 247 234 230230 144 137 bytes:

(Saved countlessmany bytes (272 -> 230) in my previous method thanks to sigalor!)

(Saved nearly 100 bytes (230 -> 144) by switching to a better method.)

main(iq,wi,ge,x,q,b){char a[27];for(i=65;i<91;i++)a[i-65]=(char)i;forfor(w=0;w<53;w++q=0;q<51;q++){g=w>26i=q>25 ? 2625-(wq-2625):w;char j[2*g+1];j[2*g+1]='\0';x=0;forq;for(q=0;q<g;q++e=65;e<66+i;e++){j[x]=a[q];x++;}forprintf(b=g;b>=0;b--"%c",e){j[x]=a[b];x++;}if;for(w<26||w>27x=64+i;x>64;x--)printf("%s\n""%c",jx);printf("\n");}}

My first answer ever in C. I just started self-learning it recently, so let's see how it goes. Any tips to help golf this down a bit more are very much welcome, seeing as how this is the longest answer here.

C it in Action! (Ideone)

C, 272 247 234 230 bytes:

(Saved countless bytes thanks to sigalor!)

main(i,w,g,x,q,b){char a[27];for(i=65;i<91;i++)a[i-65]=(char)i;for(w=0;w<53;w++){g=w>26 ? 26-(w-26):w;char j[2*g+1];j[2*g+1]='\0';x=0;for(q=0;q<g;q++){j[x]=a[q];x++;}for(b=g;b>=0;b--){j[x]=a[b];x++;}if(w<26||w>27)printf("%s\n",j);}}

My first answer ever in C. I just started self-learning it recently, so let's see how it goes. Any tips to help golf this down a bit more are very much welcome, seeing as how this is the longest answer here.

C it in Action! (Ideone)

C, 272 247 234 230 144 137 bytes:

(Saved many bytes (272 -> 230) in my previous method thanks to sigalor!)

(Saved nearly 100 bytes (230 -> 144) by switching to a better method.)

main(q,i,e,x){for(q=0;q<51;q++){i=q>25 ? 25-(q-25):q;for(e=65;e<66+i;e++)printf("%c",e);for(x=64+i;x>64;x--)printf("%c",x);printf("\n");}}

My first answer ever in C. I just started self-learning it recently, so let's see how it goes.

C it in Action! (Ideone)

4 deleted 17 characters in body
source | link
3 deleted 17 characters in body
source | link
2 added 65 characters in body
source | link
1
source | link