#include <string.h>
#define MYNAME "Nautilus"
int globalVar = 100;
main(){
char firstLetter = 'D';
int age = 38;
long int superBignum= -327670000;
float piVaule = 3.14159;
double reallyBigPi = 3.1415914159141591415914;
printf("\n");
printf("This will print to screen\n\n");
printf("I am %d years old\n\n", age);
printf("Pi = %.5f\n\n", piVaule);
printf("The first letter in my name is %c\n\n", firstLetter);
printf("My Name is %s\n\n", "Nautilus");
char myName[] = "Nautilus Jang";
strcpy(myName, "Linux lee");
printf("My Name is %s\n\n", myName);
}
댓글 없음:
댓글 쓰기