#include <iostream>
using namespace std;
int main(){
int a=985;
cout << a;
}
Second is
#include <iostream>
using namespace std;
int main(){
int a(985);
cout << a;
}
Hi What is difference between int a(985) and int a=985. Mean any logic between these methods of value assignment? Same for char and string etc..