The realization connector only serves a visual purpose when used in an object model diagram. The code generation for realization relationships is not determined by the connector used between the class and the interface, but by the application of the interface stereotype to the class element in the diagram that represents the interface.
If you apply the interface stereotype to a class element, then the appropriate code is generated for the interface and the implementing classes in IBM® Rational® Rhapsody® Developer for Java and IBM Rational Rhapsody Developer for C.