Computer Science, asked by harshrajgupta777, 11 months ago

5.
Give the output of the following:
void main()
int x;
for (x=1;x<=12;x*=2)
cout<<x<<endl;​

Answers

Answered by gandhi76
0

Answer:

sorry I didn't know the answer Mark as BRAINLIST

Answered by suchindraraut17
1

Answer:

void main () will not return any value.Instead of void man() write only main() or int main().

So,the output is :

1

2

4

8

Attachments:
Similar questions