which one is faster c or c++

Both and neither. Your question is much too vague to answer. Any objective comparison needs to be very specific about what is being tested and using equivalent code.

According to Bruce Eckel the performance difference between C++ and C is usually less than +/-10%. He also noted that a well designed C++ program can be "more efficient than the C counterpart".... aka it can be faster. In any case we can call them relatively equal... depending on the quality of the code that's being tested.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.