Quantcast
Channel: Difficulty in NULL concept in C? - Stack Overflow
Viewing all articles
Browse latest Browse all 9

Difficulty in NULL concept in C?

$
0
0

NULL in C programming can anyone tell me how NULL is handled in C?And the output of this program is 3, how with NULL concept?

#include <stdio.h>int main(void) {    int i;    static int count;    for(i = NULL; i <= 5;) {        count++;        i += 2;    }    printf("%d\n",count);    return 0;}

Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images