fix: ✏️ typo
This commit is contained in:
parent
c40837b156
commit
441fca3e2d
2 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ int main() {
|
|||
push(&stack, 5);
|
||||
int* value_ptr = get(&stack, 0);
|
||||
if (!value_ptr) {
|
||||
printf("NonValid Index\n");
|
||||
printf("Invalid Index\n");
|
||||
return -1;
|
||||
}
|
||||
printf("%d\n", *value_ptr);
|
||||
|
@ -90,7 +90,7 @@ int main() {
|
|||
int* popped = pop(&stack);
|
||||
|
||||
if(!popped) {
|
||||
printf("Couldn't Popped");
|
||||
printf("Couldn't Pop");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ int main() {
|
|||
push(&stack, 5);
|
||||
int* value_ptr = get(&stack, 0);
|
||||
if (!value_ptr) {
|
||||
printf("NonValid Index\n");
|
||||
printf("Invalid Index\n");
|
||||
return -1;
|
||||
}
|
||||
printf("%d\n", *value_ptr);
|
||||
|
@ -83,7 +83,7 @@ int main() {
|
|||
int* popped = pop(&stack);
|
||||
|
||||
if(!popped) {
|
||||
printf("Couldn't Popped");
|
||||
printf("Couldn't Pop");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue