Give me your worst C code snippets

Give me your worst C code snippets.

Attached: cprog.jpg (500x500, 68.7K)

Kys kiddo, this site is for 18+.

#include

main(){
printf("hello world!");
}

#include

main()
{
printf("hello, world\n");
}

found this in some trash book, it's K&R I believe, literally the most retarded hello world I've seen in my entire life

so funny, you two clowns ever considered forming a stand up duo?

we just did, you will never be a real C programmer by the way, might aswell move to Rust right now

Attached: .jpg (800x450, 43.29K)

Correct it should be

#include

main ()
{
puts("Hello, World!");
}

you probably meant to write
#include

int
main(void)
{
puts("good morning sir");
}

anything less pendantic is just cope that will lead to another reddit-tier
>Segmentation fault (core dumped)
thread, because you can't even get yourself to do this, you can't even concatenate two strings without fucking something up

ahem
#include

int main() {
write(1,"hello world\n",12);
}

Attached: 1656750913962.jpg (1920x1921, 1009.53K)

>no implicit function use
>problematic mention of hell
baka

for me it's

main ()
{
write(1,"heaveno world\n",14);
}

>K&R tranny
>reddit anime meme

>unistd bloat
pretty cringoirono familiosa

for me it's
main()
{
syscall(1, 1, (long long)"hello sailor\n", 13);
}

jesus christ its jason bourne

Attached: 1656809718429.jpg (554x554, 24.86K)

static __attribute__((always_inline)) inline const int pcnt(uint32_t x) {
x -= (x >> 1) & 0x55555555;
x = (x & 0x33333333) + ((x >> 2) & 0x33333333);
x = (x + (x >> 4)) & 0x0F0F0F0F;
x += x >> 8;
return (x + (x >> 16)) & 0x3F; }

>not using __builtin_popcount(x)

Attached: forget_it.jpg (366x315, 19.03K)

>not using __asm__("popcnt %rdx, %rdx;")

void main(){
while(1){ malloc(1); }
}

#include

int main(void)
{
int height;
do
{
printf("enter the height of the pyramid");
scanf("%d", &height);
}
while (height

It works, just put a space after 'pyramid'

Got BTFO'd into oblivion in the previous thread, now they are seething. Cope. You will never be a C programmer.

0x63
'c' code or something, i don't know