answersLogoWhite

0


Best Answer

if (*&a > *&b) *&max = *&a;

else *&max = *&b;

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Find the greater no between two nos using pointer in c plus plus programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you print a far pointer value in a C programming environment using small memory model?

(*p)[23]


Why you are using VOID in C programming?

You don't use 'VOID', but 'void'. It means different things, such as:- void as function type means no return value- void as function parameter means no parameters- 'void *' as pointer-types means generic pointer


What is pointers in oop?

A pointer is a programming language data type whose value refers directly to (or "points to") another value stored elsewhere in the computer memory using its address.


What is step involve is using data file in c plus plus programming?

Declaration of file pointer opening of file in desired mode. performing the desired operation. closing the file


What is pointer in java?

There is no concept similar to pointers in Java. Pointers are a feature in C programming using which a programmer can access the memory. This was the cause of major catastrophic programming bugs. The creators of Java excluded this feature just to avoid such catastrophic bugs.


What are the important applications of pointer?

the execution time of programe is fast using the pointer


In pointers what is the use of pointer variable?

Pointer is a variable that stores the address of another variable . So pointer basically stores the address of another variable and size of pointer can be evaluated by using sizeof operator.


Where is the set pointer placed when using a barometer?

you need to read what the pointer is on and you can know the reading of what you are measuring. - {courtney tucker}


How do you find the distance between two integers using the difference?

The difference (greater minus lesser) is the distance between them.


What does compare mean in programming?

It means exactly that. You compare values, using comparison operators such as '==', '<', and '>' (equal to, less than, and greater than respectively). For example; if (value1 > value2) { //Do something }


How do you get the radial pulse?

by using finger pointer and the index finger.


When using the Format Painter the pointer takes the shape of a?

a paintbrush