🐰🐾 سمیه
Especially this part: The syntax of the declaration for a variable mimics the syntax of expressions in which the variable might appear.
🐰🐾 سمیه
Just don't understand it.
🐰🐾 سمیه
U don't need to, forget that line.
You're right, but I'm curious about it
Ибраги́м
I have
They're just telling u type comes before variable/function name in declaration
Ибраги́м
You're right, but I'm curious about it
Honestly, if u've been using - Pointers - Variables - Functions ... forget about that line, nothing to be worried about.
🐰🐾 سمیه
Ok, thanks 😒
Ибраги́м
Ok, thanks 😒
No problem, your charge is $200
Ибраги́м
Pay or get banned
🐰🐾 سمیه
tbh, you didn't teach me that. BTW, I give you flowers in return 😊🌷🌷
MᏫᎻᎯᎷᎷᎬᎠ
Lol
Dima
🐰🐾 سمیه
I have more beautiful flowers for you if answer my questions
Parra
@viferga
did you solve it?
Anonymous
I have more beautiful flowers for you if answer my questions
SELLING BLACK MARKET FLOWERS COME'N GET SOME 🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷🌷
Anonymous
How can we swap two variables without using a third variable
Anonymous
int x= x+y; int y=x-y; int x=x-y; This worked ..but if any of u have another solution let me see
Anonymous
It didn't
Anonymous
Try it
Parra
https://stackoverflow.com/questions/10549155/why-swap-dont-use-xor-operation-in-c
Anonymous
Ok
Anonymous
Thanks for dat
Ariana
Ariana
cuz its all mod 0x1000000...
Parra
using a temporary variable will use registers on the cpu, and it will be incredible faster and safer in comparison to the alternatives
Anonymous
But processor are so fast today that it doesn't matter
Parra
ok
🐰🐾 سمیه
did you solve it?
Hi, I can't understand it word by word.
🐰🐾 سمیه
How can a variable appear in an expression
🐰🐾 سمیه
It's simply an assignment
Daniele°
this may overflow, xor not
xor not work with double and Is more slow on x64
Ariana
Just typecast
Ariana
I have xor working with pointers too
Daniele°
it does
No, can't with double
Ariana
Hi, would you please explain this passage to me?
is double *dp; double atof(char*); clearer?
🐰🐾 سمیه
did you solve it?
Yes, now it's solved
Ибраги́м
tbh, you didn't teach me that. BTW, I give you flowers in return 😊🌷🌷
I don't know about u but we don't eat flowers in here. And tbh, I told u what to and not to worry about
Daniele°
is double *dp; double atof(char*); clearer?
double *dp; double atof(char*);
Ariana
No, can't with double
cant you typecast to like int_64 or smt
Ariana
Ariana
yea
Ariana
functions are just pointers
Ибраги́м
No idea
What is a pointer?
Daniele°
#define swap(A,B)({__auto_type __c__=(A);\ (A)=(B);\ (B)=__c__;})
Ибраги́м
Oh no
Rafi Faseeh
hi
Ariana
What is a pointer?
a finger that points to a place in ram
Ибраги́м
a finger that points to a place in ram
Does it have to be RAM tho
🐰🐾 سمیه
What is a pointer?
A variable that contains the address of another variable
Ибраги́м
Seems Russian don't believe in folk medicine
Rose flowers, is what u eat. Reason why u look like one
Ariana
Ariana
It is really just a address
Ariana
What's a variable
what is a program
Ибраги́м
And is pointer a variable
🐰🐾 سمیه
It is really just a address
So why could we assign a value to it
Ибраги́м
🐰🐾 سمیه
What's a variable
A group or groups of cells on memory that can hold a value.
🐰🐾 سمیه
Value or Address?
He said a pointer is just an address, and I said, how could we assign a value to an address.
Ибраги́м
A group or groups of cells on memory that can hold a value.
Or simply a named object. An object is a region of memory with a type.
🐰🐾 سمیه
True
🐰🐾 سمیه
Sorry, I meant to say Value or Address
Neither, it's a variable with an address to another variable
Daniele°
Neither, it's a variable with an address to another variable
*it's an address to other region of memory
🐰🐾 سمیه
So what's it to do with the original question
🐰🐾 سمیه
Especially this part: The syntax of the declaration for a variable mimics the syntax of expressions in which the variable might appear.
Ибраги́м
Nothing, just to waste your time.
🐰🐾 سمیه
😶