Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CTasks1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
elijah vasquez
CTasks1
Commits
db01c307
Commit
db01c307
authored
Jan 11, 2023
by
elijah vasquez
🦍
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
0f242aa2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
variables_demo.c
variables_demo.c
+4
-3
variables_demo.exe
variables_demo.exe
+0
-0
No files found.
variables_demo.c
View file @
db01c307
...
@@ -3,8 +3,9 @@
...
@@ -3,8 +3,9 @@
enum
days
{
mon
,
tue
,
wed
,
thu
,
fri
,
sat
,
sun
};
enum
days
{
mon
,
tue
,
wed
,
thu
,
fri
,
sat
,
sun
};
int
main
(){
int
main
(){
enum
days
today
=
thu
;
enum
days
today
;
int
values
[
7
]
=
{
10
,
15
,
5
,
60
,
20
,
40
,
30
};
int
numbers
[
7
]
=
{
10
,
15
,
5
,
60
,
20
,
40
,
30
};
printf
(
"%d"
,
today
);
today
=
thu
;
printf
(
"%d"
,
today
[
numbers
]);
return
0
;
return
0
;
}
}
variables_demo.exe
View file @
db01c307
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment