Skip to main content

Posts

Showing posts with the label Important End Minute Notes/Problems -data structure c DBMS

Last Minute Notes(GATE Important End Minute Notes/Problems -)2019

Last Minute Notes -C/C++ In modern systems, size of all pointer types on a given platform is same i.e. whether it is ‘pointer to char’ or ‘pointer to int’ or ‘pointer to pointer to int’ etc., the size of all these pointers is same. In C, an identifier (e.g. variable) can consists of letters, digits and underscores only. But it can’t start with a digit e.g. 9var is invalid. Unlike ‘long long int’, there’s nothing like ‘long long double’ in C. Besides, real data types (i.e.  float ,  double ,  long double ) can’t be  unsigned . In C, ‘ printf(“%d”,090); ‘ is invalid because an octal constant consists of the prefix 0 optionally followed by a sequence of the digits 0 through 7 only. Real constants (e.g. 1.414) has data type as  double . To convert them to  float , we need to suffix them with f or F (e.g. 1.414f or 1.414F). Modulus operator (%d) isn’t defined for real types however library functions  fmod(), fmodf(), fmodl()  from ma...