This interview question come from a famous communication firm of china. : ) #include <iostream> #include <stdio.h> #include <string.h> #include <conio.h> using namespace std; int main() { float a = 1.0f; cout << cout <<…
Some people may be confused about the sequence of const and * on declaration in C++/C, me too. Now I think we can distinguish them by this way: 1.only noticing the position of const to *, and we can find that the following statements are same: const…