Skip to content

improper initialization #4

@nengkya

Description

@nengkya

#include <stdio.h>
#include <string.h>
int main(){
char str[20];
strcat(str, "hello world");
printf("%s", str);
return 0;
}

what is the proper one ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions