Skip to content

pokemondodge/Language-concepts

Repository files navigation

Important-Points-Summarised

language skills or proficiency as a developer List of Standard and Reference Books, Practice Forums, Refrence Websites, Doubt Discussion, Bonus Information

Imp-Keywords

  1. const
  2. goto
  3. register
  4. restrict
  5. inline
  6. sizeof
  7. extern
  8. enum
  9. typedef
  10. union
  11. volatile
  12. static
  13. struct

Frequently-used-Keywords

  • char, int, double, auto, float, long, short
  • default, switch, case, else, if, break, continue, return, do, while, for, unsigned, void, signed

Note :-

  ' ' '
  
   1 / 10 = 0 
   1 % 10 = 1 

   divisor / dividend    or    divisor % dividend 

if divisor is SMALLER than dividend then ' / ' will return 0 as output and ' % ' will return DIVISOR itself

' ' '

  examples :  2 % 3 = 2            4 / 45 = 0
              2 % 5 = 2            2 / 76 = 0

' ' '

 for( initialization ; condition ; updation )

updation can be pre or post unary operator ++i/i++ --i/i-- working will be same

' ' '

     scanf("%placeholder",&value);  
     printf("%placeholder",value);

latest compiler works even if ' & ' not placed before variable in scanf and if by mistake ' & ' is placed before variable in printf for more details link -

range for loop link - std functions list link - non std functions list -

  • Main function is necessary. No program is possible without main function in c/c++ but in java it's optional and only requires during execution of program
  • Main function cannot be ' void ' in c/c++ it must always return someting

About

language skills or proficiency as a developer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published