Computer Science, asked by mudit11, 1 year ago

Why is <iostream.ho> or int written in the beginning of a program? (C++)

Answers

Answered by marshmallow9250
1
c++ doesn't contains any built in operation not even input output operation so for implementing input output to a program iostream.h included


and

int main() or void main() is know as driver function from where execution of program starts we can only see those parts on output screen which was written under main(). so that we include main().

please mark this as brainlist answer if you satisfied with it

marshmallow9250: you welcome mudit please select it as brainlist answer if you find it helpful
Similar questions