โช Choose the correct option.
What will be the value of sum after the following C program is executed?
void main()
{
int sum, index
sum= 1;
index= 9;
do {
index = index - 1;
sum =2* sum;
} while(index > 9);
}
void main()
{
int sum, index
sum= 1;
index= 9;
do {
index = index - 1;
sum =2* sum;
} while(index > 9);
}