5.
Give the output of the following:
void main()
int x;
for (x=1;x<=12;x*=2)
cout<<x<<endl;
Answers
Answered by
0
Answer:
sorry I didn't know the answer Mark as BRAINLIST
Answered by
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