0 votes 0 votes Variables which are initialised during compilation in a C program? I want to specifically ask about arrays and constant variable. Programming in C programming-in-c + – vaishali jhalani asked Nov 8, 2016 vaishali jhalani 268 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 0 votes 0 votes All static and global variables are initialized in C - like 0 for integers, and NULL for pointers. This is also true for arrays. In local scope, no variables are initialized but constants are supposed to be always initialized anywhere. http://stackoverflow.com/questions/2589749/how-to-initialize-array-to-0-in-c Arjun answered Nov 8, 2016 • selected Nov 9, 2016 by Tendua Arjun comment Share Follow See all 0 reply Please log in or register to add a comment.