Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdlib.h>
- #include<stdio.h>
- int main() {
- int a, * x;
- float b, * y;
- char c, * z;
- printf("Valores antes da alteracao: %d, %.2f, %c\n", a, b, c);
- x = &a;
- y = &b;
- z = &c;
- *x = 80;
- *y = 13.80;
- *z = "p";
- printf("Valores apos alteracao: %d, %.2f, %c\n", a, b, c);
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement