Message from C, C++ talks

July 2019

— Read the rules

— /warn Assignment/code request

— That's 2/2 warnings; PRO is out!
1: ot and probably promo
2: Assignment/code request

— Let’s cut it fast :)


#include <stdio.h>

void main()


int x = 97;

int y = sizeof(x++);

printf("x is %d", x);


The output is : 97(why?)

— /warn because read the rules

— User Jittu_x has 1/2 warnings; be careful!
The latest warn was because:
because read the rules

— What do you want it to be?

— 98

— Try replace ++ operator before x in y assingment

— Is it wise in these days to learn how to write a make file

— Yeah, I'd say so

— Because there types are primitive and are not references, you need to add & or change x directly

— Ok

— Very helpful if you are working with Linux kernel and big projects