i know about #include <stdio.h> header file ,is we can replace with <iostream> header file with < stdio.h > ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i know about #include <stdio.h> header file ,is we can replace with <iostream> header file with < stdio.h > ??

14th Jul 2018, 5:31 AM
BANDI SAGAR
BANDI SAGAR - avatar
4 Answers
+ 2
I don't understand your question clearly, there may be 2 possible answers to your question in 2 different manner. First, no you can't because both are different headers and have different function, and objects defined inside them, if your are saying you will use stdio.h and want to use cout, cin, endl.. etc.., then sorry buddy, then you have you define there terms explicitly. so in short no you can't second. yes, in a manner you can say, but then you can't use any of the object/function defined under iostream, you have to use whatever is defined in stdio.h, have to use printf , scanf ,.. On a overview still my answer is no you can't, they both possess different properties.
14th Jul 2018, 5:50 AM
Nikhil Dhama
Nikhil Dhama - avatar
0
Ty for clarification
14th Jul 2018, 6:19 AM
BANDI SAGAR
BANDI SAGAR - avatar
- 2
Hay...
14th Jul 2018, 10:05 AM
Parami Purnima
Parami Purnima - avatar