Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
- #define MYNUMBER 13
- #define UINT unsigned int
- typedef unsigned int uint;
- int main(int argc,char* argv[])
- {
- uint a = MYNUMBER;
- unsigned char b = 255;
- double dd = 256;
- float f = 1.0f;
- double fd = 1.0;
- char name[10];
- strcpy(name,"Test1");
- a = (uint)f;
- char* name2 = NULL;
- name2 = (char*)malloc(255);
- strcpy(name2,"Test1");
- if (name2!=NULL) free(name2);
- uint* p = &a;
- int c = sizeof(fd);
- printf("Hello World! %p \r\n",p);
- getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement