answersLogoWhite

0


Best Answer

i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........

How far have you gotten so far?

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: You want to write a simple without using pointer or array c program which will print greatest number when you give 20 number?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Program to find the greatest number?

The greatest number is infinity.


Write a Program to convert decimal number into hexadecimal no without using function and string?

This is not a question.


How many type of pointer in c?

A pointer is a pointer to something else. One way to look at it is that there is only one pointer type - an address to something else. Another way to look at it is to see how many different types there are, such as int, char, float, struct, double, etc. and to realize that you can build a pointer to any of them, as well as a pointer to a pointer to any of them, etc., etc., etc. Bottom line, is there are an unlimited number of types of pointers.


How many bytes are read in pointers by pointers dereferencing?

When you dereference a pointer you "read" the number of bytes determined by the pointer's type. That is, a char pointer dereferences a single byte while an int pointer dereferences 4 bytes (assuming a 32-bit int) -- regardless of the type actually stored at that address. However, note that a pointer can only actually point at a single byte since it only has storage for a single memory address. How many additional bytes are dereferenced is entirely dependant on the type of the pointer. To determine how many bytes are actually allocated to an address, use the sizeof operator, passing a dereferenced pointer (the pointer must point at the start of the allocation). If the pointer points at several elements of the same type (an array), then divide the total bytes by the size of the pointer's type to determine the number of elements in the array.


Write a program in COBOL to find the largest of N number?

identification division. program-id. greatest. environment division. data division. working-storage section. 77 a pic 999. 77 b pic 999. 77 c pic 999. procedure division. greatest. display "ENTER THE THREE NUMBERS:". accept a. accept b. accept c. if a > b and a > c display a "is greatest" else if b > c display b "is greatest" else display c "is greatest". display " thank you". stop run.

Related questions

Program to find the greatest number?

The greatest number is infinity.


What is the greatest 7 digit number without repeating any number?

9876543


What is the greatest 3 digit number without repeating?

987


What is the greatest number you can add to 74253 without having to regroup?

96475


What is the greatest number you can add to 65 without having to regroup?

Any number. Not everyone needs to regroup.


what is the greatest number you can add to 457 without having to regroup it?

don't know


what is the greatest number that can divide 48,60 and 72 without a reminder?

12!


What is the greatest number divisible by 4 without a remainder?

There is no answer to this question. The answer tends to infinity.


What is the greatest 7 digit number without repeating any digit?

9876543


What is the greatest number of hundreds you can add to 300 without having to regroup?

100


What is the phone number of the Emily Jones Pointer Library in Como?

The phone number of the Emily Jones Pointer Library is: 662-526-5283.


What baseball player hit the greatest number of home runs without ever having played in a world series?

Ken Giffey Jr. hit the greatest number of career home runs, without appearing in the World Series