Describe the syntactically way to declare and initialize in a single step a pointer to a previously
declared variables m and b for type float and double?
float m = 10.700 //Variable m declaration and initialization
float * m = &m; Pointer to variable m declaration and initialization
double b = 10.099887 //Variable b declaration and initialization
double *ptr = &b; //Pointer to variable b declaration and initialization
Comments
Leave a comment