7th Jun 2018, 11:30 AM
Hedayatullah Munib
Hedayatullah Munib - avatar
4 odpowiedzi
+ 4
Donna he need to use float. use of int will give 0 as a output. because int can't show value after point
7th Jun 2018, 11:34 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 3
#include <iostream> using namespace std; int main() { float a=12,b=14; float* pa=&a; float* pb=&b; cout << *pa/ *pb << endl; return 0; } this is it.
7th Jun 2018, 11:32 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 1
Thanks all of you.
8th Jun 2018, 2:02 PM
Hedayatullah Munib
Hedayatullah Munib - avatar