Each call function such that Num + 1
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
int INC(int *x)
{
return ( * x)++;
}
int main()
{
int num = 0;
INC(&num);
INC(&num);
INC(&num);
printf("%d\n", num);
system("pause");
return 0;
}
Since this function does not know what name at random from a hee hee
return ( * x)++;
The main is to say about higher precedence than ++ *
Nothing
in this blog is water.
I think the fun of watching a
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
int main()
{
printf("%d", printf("%d", printf("%d", 43)));
system("pause");
return 0;
}
Explanation
printf return value
returns an int
number of characters to be printed
, for example: int a = 104; printf ( % d ", a); printf returns. 3
printf (" 123 \ n-"); printf returns 4