Programming Languages

Computer Awareness

0/9
0
0
Save Progress
Show Timer
Qn #410
Given an unsigned 32-bit integer $x$, which of the following C/C++ expressions correctly toggles $m$ bits starting from position $p$ (with the least significant bit at position $0$)?

Assume: x is the input integer; p is the starting position of the bit range (0-based, LSB at position 0); m is the number of bits to toggle; and No overflow or invalid input conditions occur.

Which of the following correctly toggles $m$ bits of $x$ starting from position $p$?
Qn #401
Which operator sequence follows precedence rules?
Qn #399
Evaluate x++ % 3 if x = 10
Qn #398
Meaning of escape sequence \xhh is
Qn #397
Signed long int data type in C occupies how many bytes?
Qn #396
Which one of the following identifiers is not valid?
Qn #261
In C language Auto, static, register and extern are:
Qn #185
High level programs translated to low level programs by
Qn #93
Which of the following is a set of keywords, symbol, and a system of rules for constructing statements by which humans can communicate the instructions to be executed by a computer?
    Programming Languages Practice Questions | Group Studies Library | Tancet Group Studies