2 votes 2 votes extern int i; int i=10; i =5 int main() { printf("%d",i); return 0;} what will be the output? it is a compiler error but answer given is 5 Programming in C programming-in-c + – Nishtha3121996 asked Jan 12, 2018 • edited Jan 12, 2018 by srestha Nishtha3121996 376 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply joshi_nitish commented Jan 12, 2018 reply Follow Share yes, it will give re-declaration error, 'i' is being declared two times in a same scope 0 votes 0 votes MiNiPanda commented Jan 16, 2018 reply Follow Share @joshi_nitish yes there will be error but won't we call this redefinition rather than redeclaration? Because we can declare a variable as many times we want but define ony once. 0 votes 0 votes Please log in or register to add a comment.