Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Teil: I Sprache > Typumwandlungen

Kapitel 4. Typumwandlungen

In C können in einem Ausdruck Operanden unterschiedlichen Typs kombiniert werden. Beispielsweise sind folgende Ausdrücke erlaubt:

double dVar = 2.5;  // Variable dVar vom Typ double.
dVar *= 3;          // Multiplikation von dVar mit einem int-Wert.
if( dVar < 10L ) // Vergleich von dVar mit einem long-Wert.
{ /* ... */ }


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint