Placement Papers: Huawei Technicalc

Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

  1. which is true? Out of 4 options ans is “& operator cannot be applied to register variables”
  2. How many additions are done in this pgm for (i = 0; i < 31; i ++) for (j = 0; j < 31; j ++) for (k = 0; k < 31; k ++) d = d + 1
  3. i = 6720, j = 4; for (; i % j == 0;) {i = i/j; j = j + 1;} print i; what is the output?
  4. what is a bit = field?
  5. Storage class defines
    1. scope
    2. scope and permeance
    3. permeance
  6. main () {int x = 0; fun (x) ; print x;} fun (int x) {x = x + 1; print x;} what is the output?
  7. Changing some of the bits to a desired pattern is known as
    1. masking
    2. Pruning
  8. main {int i = 1; {int i = 2; print i; i = i + 1;} print i;} what is the output.
  9. whether atleast one function in a C pgm.