Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
Quiz-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
정용석
Quiz-1
Commits
53762538
Commit
53762538
authored
Jan 17, 2025
by
정용석
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NULL 포인터 예외처리
parent
f7e04d15
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
quiz6.cpp
+3
-0
No files found.
quiz6.cpp
View file @
53762538
...
...
@@ -2,6 +2,9 @@
#include <stdlib.h>
unsigned
int
my_strlen
(
const
char
*
s
){
if
(
s
==
NULL
){
return
-
1
;
}
unsigned
int
i
=
0
;
while
(
s
[
i
]
!=
'\0'
){
i
++
;
...
...
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