+ 1

Can we use printf in c++?

19th Sep 2016, 4:22 AM
ROHAN WAGHMODE
ROHAN WAGHMODE - avatar
6 Respostas
+ 4
Yes, You can. You have to include <stdio.h> header file to use printf() . But it's not a good practice
19th Sep 2016, 4:57 AM
Mosiur Rahman
Mosiur Rahman - avatar
+ 3
printf is a command of c language and this can be used in c++. you must include<stdio.h>for using it.. :-)
19th Sep 2016, 11:07 AM
Descifrador
Descifrador - avatar
0
yes we can!!
23rd Sep 2016, 9:19 AM
Gnanendra
0
yes
23rd Sep 2016, 4:09 PM
Sohi Nitika
Sohi Nitika - avatar
- 2
no we can't because it can only be used in c programming
21st Sep 2016, 4:41 AM
RHYTHM PAUL
RHYTHM PAUL - avatar
- 2
no printf is used only in c...c++ supports only cout
26th Sep 2016, 9:09 AM
nivetha