Advertisement
oxb

Untitled

oxb
Sep 12th, 2013
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.37 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5.     int myint = 5;      /* create an integer called myint, with the value 5 */
  6.     char mychar = 'a';  /* create a char called mychar, with the value 'a' */
  7.  
  8.     printf("The value of the integer is %d\n", myint);  /* print the value of myint */
  9.     printf("The value of the character is %c\n", mychar);   /* print the value of mychar */
  10.  
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement