Swift does share some features with both C and C++ since Swift is a “Multi-Paradigm” language (has some Procedural and Object-Oriented features). But since Swift is Multi-Paradigm, there’s much more to it than a language that’s strictly Object-Oriented.
Is Swift code same as C?
Swift is a successor to both the C and Objective-C languages . It includes low-level primitives such as types, flow control, and operators. It also provides object-oriented features such as classes, protocols, and generics, giving Cocoa and Cocoa Touch developers the performance and power they demand.