Output Hex : Hex « Data Type « C / ANSI-C






Output Hex

  
#include <stdio.h>

int main(void)
{
  printf("\xA0 \xA1 \xA2 \xA3");

  return 0;
}


           
       








Related examples in the same category

1.Reading hexadecimal and octal values
2.Output float and hexadecimal
3.Read and output Signed octal