GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

C Quiz

prema ravishankar 3 Fragen

Quiz starten

Fragen in diesem Quiz (3)

  1. 1Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?
    1. Arem = 3.14 % 2.1;
    2. Brem = modf(3.14, 2.1);
    3. Crem = fmod(3.14, 2.1);
    4. DRemainder cannot be obtain in floating point division.
  2. 2Which of the following special symbol allowed in a variable name?
    1. A* (asterisk)
    2. B| (pipeline)
    3. C- (hyphen)
    4. D_ (underscore)
  3. 3What is the output of the program ?
    #include<stdio.h>
    int main()
    {
    int x = 10, y = 20, z = 5, i;
    i = x < y < z;
    printf("%d\n", i);
    return 0;
    }
    1. A0
    2. B1
    3. CError
    4. DNone of these

Informationen

Beschreibung
UNIT 1 Basic Concepts
Sprache
English
Aufrufe
18
Schlagwörter
c programmingquiz
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Mehr zu C Programming Basics

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck