Johnson Controls Interview Question

In technical questions i was asked about difference between dbms and rdbms what are pointers sql commands fav subjects calloc malloc they were checking my knowledge about data type etc.