Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

type cast in c

#include <stdio.h>  
 int main()  
 {  
     int a = 50.45, b = 60, sum;  
     sum = a + b;  
     printf("%d + %d = %d", a, b, sum);  
     return 0;  
 }  
 
Source by cpbook.subeen.com #
 
PREVIOUS NEXT
Tagged: #type #cast
ADD COMMENT
Topic
Name
3+5 =