I wonder if I can directly convert the public class to a struct. Is it permissible?
  class car
  {
     public:
     int vno;
     float count;
     char  dname[15],x,l[50];
      void input()
      
Is it okay just to convert to struct directly like this?
 struct car
  {
    int vno;
    float count;
    char  dname[15],x,l[50];
    void input()
    
will it be run with no error? Or there is another way...
 
     
    