How do I print Ansii c Extended Code in a program?

how do i make input or output of highlighted code?

I also use this code.

#include <stdio.h>
 int main()
  {
    int e;
    char ch;

    printf("\n Enter a character : ");
    scanf("%c",&ch);
    e=ch;
    e=e-6;
    ch=e;
    printf("\n This is  % c before the character W :",ch);
    getch();
    return 0;
  }

this code will print Q for input W

Input

Enter a character : W

Output

This is  Q before the character W

Answers


The numbers in the Alt- column means that you have to read two characters: If the first is zero then you have to read another to get the key.


Need Your Help

Storing a collection of mongoid documents with one operation

ruby-on-rails mongoid moped

When using Moped gem, I can store an array of hashes with:

try-catch for division by zero

java try-catch divide-by-zero

My question is about try-catch blocks on a simple division by zero example. You see the first line of try? If I cast any of those two variables to the double the program does not recognize the catch