Mega Code Archive

 
Categories / C Tutorial / Data Type
 

Octal numbers

Represent a number by using the octal number system. The octal number system that is, base 8. Use "%o" to print octal numbers. #include <stdio.h> main() {     int i = 65;         printf("%o", i); } 101