No, it is not defined. It may result in a memory access violation, as it will keep counting until it reaches the first memory byte whose value is 0.
More Related Contents:
- C: Why is counter not resetting to 0 in for loop [closed]
- In a function with return type void, what is the meaning of the statement return;
- Why is the output of this program 0? [closed]
- C: What is the output of the following code? And please explain [duplicate]
- #pragma pack effect
- C function syntax, parameter types declared after parameter list
- C/C++ printf() before scanf() issue
- Initializing variable length array [duplicate]
- Why do I get the same result with rand() every time I compile and run? [duplicate]
- Explain this snippet which finds the maximum of two integers without using if-else or any other comparison operator?
- Why doesn’t scanf need an ampersand for strings and also works fine in printf (in C)?
- How can I create a dynamically sized array of structs?
- GCC fatal error: stdio.h: No such file or directory
- Type of #define variables
- Why doesn’t GCC optimize structs?
- Classic C. Using pipes in execvp function, stdin and stdout redirection
- Writing to a closed, local TCP socket not failing
- Printing chars and their ASCII-code in C
- Why fork() twice [duplicate]
- Compiler changes printf to puts
- PTHREAD_MUTEX_INITIALIZER vs pthread_mutex_init ( &mutex, param)
- C initialize array within structure
- Releasing bound ports on process exit
- How does the compare function in qsort work?
- Why is execstack required to execute code on the heap?
- Assign string to element in structure in C
- Is typecast required in malloc? [duplicate]
- Order of fields when using a bit field in C
- problems with char array = char array
- pthread execution on linux