DEV Community

Discussion on: Meme Monday 🌻

 
wiseai profile image
Mahmoud Harmouch

Well yes, but actually no. printf is a c function, but you can use it in c++ by importing the cstdio c header file. So, it is a valid c++ program using c functions.

c++

Thread Thread
 
posandu profile image
Posandu

Oh. Thanks for the explanation!