We are building EduLadder(ELADR) - Protocol

The Eladr Protocol is a decentralized, security and efficiency enhanced Web3 noSQL database powered by IPFS as the data storage layer https://ipfs.io/, and the Cardano block chain as the rewards token platform, https://cardano.org/. It provides a JSON based, IPFS layer 2 solution for data indexing and retrieval in an 'append only' file system built with open source Node.js API libraries.

The ELADR token was designed to incentivize and reward community members as a proof of contribution. Token holders are also granted access to EduLadder.com premium features as well as associated ELADR token enabled apps.

WHITE PAPER Buy Now Try BETA

Real Problems! Real Experts!

Join Our Telegram Channel !


The Eduladder is a community of students, teachers, and programmers. We help you to solve your academic and programming questions fast.
In eduladder you can Ask,Answer,Listen,Earn and Download Questions and Question papers.
Watch related videos of your favorite subject.
Connect with students from different parts of the world.
Apply or Post Jobs, Courses ,Internships and Volunteering opportunity. For FREE
See Our team
Wondering how we keep quality?
Got unsolved questions? Ask Questions

Questions on c++

1. What are the different data types present in C++?

The 4 data types in C++ are given below:

  • Primitive Datatype(basic datatype). Example- char, short, int, float, long, double, bool, etc.
  • Derived datatype. Example- array, pointer, etc.
  • Enumeration. Example- enum
  • User-defined data types. Example- structure, class, etc.
  • 2. What are class and object in C++?

    A class is a user-defined data type that has data members and member functions. Data members are the data variables and member functions are the functions that are used to perform operations on these variables.

    An object is an instance of a class. Since a class is a user-defined data type so an object can also be called a variable of that data type.

    A class is defined as-

    class A{
    private:
     int data;
    public:
     void fun(){
    
     }
    };
  • 3. What is the difference between struct and class?

    In C++ a structure is the same as a class except for a few differences like security. The difference between struct and class are given below:

    Structure Class
    Members of the structure are public by default. Members of the class are private by default.
    When deriving a struct from a class/struct, default access specifiers for base class/struct are public.

    4. What is operator overloading?

    Operator Overloading is a very essential element to perform the operations on user-defined data types. By operator overloading we can modify the default meaning to the operators like +, -, *, /, <=, etc. 

    For example -

    The following code is for adding two complex number using operator overloading-

    class complex{
    private:
     float r, i;
    public:
     complex(float r, float i){
      this->r=r;
      this->i=i;
     }
     complex(){}
     void displaydata(){
      cout<<”real part = “<<r<<endl;
      cout<<”imaginary part = “<<i<<endl;
     }
     complex operator+(complex c){
      return complex(r+c.r, i+c.i);
     }
    };
    int main(){
    complex a(2,3);
    complex b(3,4);
    complex c=a+b;
    c.displaydata();
    return 0;
    }




Notes|Edit