forked from MarkAYoder/gitLearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
helloWorld.c
41 lines (39 loc) · 1.5 KB
/
helloWorld.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include <stdio.h>
int bss_var; /* Uninitialized global variable */
int data_var = 1; /* Initialized global variable */
int main(int argc, char **argv)
{
void *stack_var; /* Local variable on the stack */
stack_var = (void *)main; /* Don't let the compiler */
/* optimize it out */
printf("Hello, World! Main is executing at %p\n", stack_var);
printf("This address (%p) is in our stack frame\n", &stack_var);
/* bss section contains uninitialized data */
printf("This address (%p) is in our bss section\n", &bss_var);
/* data section contains initializated data */
printf("This address (%p) is in our data section\n", &data_var);
printf("\n");
printf("Hi this is Mark A. Yoder\n");
printf("hi, i'm weijian \n");
// Add your name here. Be sure it still compiles.
printf("Hey from Dmitry Votintsev\n");
printf("Hey from Matthew Olson\n");
printf("My name is Zhihao Xue\n");
printf("This is Eric Taylor\n");
printf("Me again\n");
printf("Hi this is Kyle Daruwalla.\n");
printf("Wazuppp\n");
printf("Hi this is Caio Silva. \n");
printf("Hi, This is Zizhao Wang. \n");
printf("Hi this is Mark Morrison.\n");
printf("Hi this is Dave Fisher\n");
printf("Hi, This is Zizhao Wang. \n");
printf("Hi I'm Peter\n");
printf("Hello, I'm Randy Turner. \n");
printf("Hi, this is Leihao\n");
printf("Hi, this is Asa");
printf("Hi, this is Alex\n");
printf("Hi, this is Jiayu\n");
printf("Hi, this is Ying Ying Zhou. \n");
return 0;
}