0
2.2kviews
write a program in C++ to calculate sum of 10 float number using pointer
1 Answer
1
51views

C++ Program to Calculate the Sum of 10 Float Numbers using Pointers

  • The below C++ program creates the following things:

    • 10 variables named "n1 to n10" to store 10 float numbers.

    • 10 Pointer variables named "ptr1 to ptr10" to store the address of these 10 float numbers.

    • One float variable …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.