O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

C Programming

Miki Rana Inglês 4,4Avaliação média 4,4 de 5 (7 avaliações) 23 flashcards

Flashcards do conjunto (23)

  1. 1stdio.hContains input and output functions, types, and macro definitions. This library is used by most C programs and represents almost 1/3 of entire C libraries
  2. 2string.hContains functions for manipulating strings
  3. 3math.hContains mathematical functions
  4. 4stdlib.hContains utility functions for number conversion, storage allocation etc.
  5. 5Translating Stage of CompilationCompiler translates high-level language in .i file to low-level Assembly language instructions. Generated file is .s file
  6. 6Assembly Stage of CompilationAssembler converts assembly language to machine code. Generated object file contains conversion in binary and is .o file
  7. 7Linking Stage of CompilationLinker combines one or more binary object .o files into single executable file. Generated file is in binary and has .exe file
  8. 8VariablesA container in C which a data value can be stored inside the computer's memory
  9. 9charSingle byte storing 1 character
  10. 10intStores integer
    [100]
  11. 11floatStores floating-point to 6 decimal places
    [0.123456]
  12. 12doubleStores floating-point to 10 decimal places
    [0.0123456789]
  13. 13Declaring VariablesData type and variable name written, followed by ";"
    [ int car_number; ]
  14. 14Initialising VariablesWhen a value is assigned to a variable
    [ int car_number = 0; ]
  15. 15%dSpecifier for integers -32768 to +32767
    [6554]
  16. 16%fSpecifier for floating-point
    [2.1564]
  17. 17%cSpecifier for a character
    [M]
  18. 18%sSpecifier for a string of characters
    [Hello World]
  19. 19scanf()Requires 2 arguments in the brackets specifying type of data inputted and where to store it to
  20. 20long intUsually default of int and has range of values from -2,147,483,647 to +2,147,483,648
  21. 21short intSaves memory space and has range of values from -32,768 to +32,767
  22. 22Static VariableDefined outside function, can be used inside using "extern int [variable name];"
  23. 23CastingProcess of forcing a variable into a variable of a different data type
    variable2 = (modifier data-type) variable1;
    [ float2int = (int)num; ]

Informações

Descrição
Notes on C language for Programming module of Comp Sci
Criado por
Miki Rana
Visualizações
495
Avaliação
Avaliação média 4,4 de 5 (7 avaliações)

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?