Write a C program to read and output Signed octal.
Menu
Turn Mobile View Off
by Dinesh Thakur

 

 

#include<stdio.h>

#include<conio.h>
void main()
{
int i, j;
scanf("%o%x", &i, &j);
printf("%o %x", i, j);
getch();
}
 
OUTPUT:
54
2
54 2
Dinesh Thakur is a Technology Columinist and founder of Computer Notes and Technology Motivation. Turn Mobile View Off