Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void)
- {
- int myint = 5; /* create an integer called myint, with the value 5 */
- char mychar = 'a'; /* create a char called mychar, with the value 'a' */
- printf("The value of the integer is %d\n", myint); /* print the value of myint */
- printf("The value of the character is %c\n", mychar); /* print the value of mychar */
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement