Data Structure :It's simply a way of organising data so that we can perform various operations like search,add,delete etc efficiently. Examples : Stack,Queue,Tree,Trie,Maps,Graphs etc Data type : It is a classification of data which tells the compiler or interpreter how the programmer intends to use the data. Eg double,float,string,char etc. You can also create your own data type using structure. struct mydatatype { int rollno; string name; }; Reference Heramb Mathkar , IT Engineering student at VJTI,Mumbai
Comments
Post a Comment