Question #313961

Write a program which prompts user to enter

the following student data and convert all this information to store in a single variable (see sample run).

Use bitwise AND, OR and SHIFT operators. Also use if-else where needed. (20 marks)


Expert's answer

Here is program:

int main() {
    int a = 5;
    int* b = &a;
    cout << &a;
}
LATEST TUTORIALS
APPROVED BY CLIENTS