¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Programming in C

Faheem Ahmed 44 preguntas 1.695 visitas

Hacer el test

Este test tiene tiempo límite, así que se abre en el reproductor de siempre.

Preguntas del test (44)

  1. 1A C variable name can start with a ____
    1. ANumber
    2. BPlus Sign (+)
    3. CUnderscore
    4. DAsterisk (*)
  2. 2Name the loop that executes at least once.
    1. Afor
    2. Bif
    3. Cdo-while
    4. Dwhile
  3. 3A pointer pointing to a memory location of the variable even after deletion of the variable is known as _____
    1. Afar pointer
    2. Bdangling pointer
    3. Cnull pointer
    4. Dvoid pointer
  4. 4Which of the following correctly shows the hierarchy of arithmetic operations in C?
    1. A/ + * -
    2. B* - / +
    3. C+ - / *
    4. D/ * + -
  5. 5The output of the following code is:
    main()
    { int z, a = 5, b = 3; z = a * 2 + 26 % 3;
    printf("%d", z);
    }
    1. A10
    2. B0
    3. C12
    4. DNone of the above
  6. 6The output of the following code is:
    void main()
    { char a = 'B';
    switch (a)
    { case 'A' : printf("a");
    case 'B' : printf("b");
    default : printf("c");
    }
    }
    1. AB
    2. Bb
    3. Cbca
    4. Dbc
  7. 7What is the output of this C code?
    main()
    { int x=35;
    printf("%d %d %d",x==35,x=50,x>40);
    }
    1. A1 50 1
    2. B0 50 0
    3. CRuntime error
    4. DCompile time error
  8. 8Which among the following is NOT a logical or relational operator?
    1. A!=
    2. B==
    3. C||
    4. D=
  9. 9Which of the following is not a correct variable type?
    1. Afloat
    2. Breal
    3. Cint
    4. Ddouble
  10. 10Which of the following is true?
    1. A1
    2. B66
    3. C0.1
    4. D-1
    5. EAll of the above

Información

Descripción
First year First Year Test sobre Programming in C, creado por Faheem Ahmed el 26/03/2018.
Idioma
English
Visitas
1.695
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?