Is there any difference between doing following declarations ? If so what are they? any benefits at all ?
Thanks in advance.
#1:
#2:Code:main() {
int i = 1;
struct my_struct *s = NULL;
}
Code:main() {
int i = 1;
if(i) {
struct my_struct *s = NULL;
}
}