Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //https://www.facebook.com/AminproPastebin
- #include <stdio.h>
- #define SIZE 10
- int main(){
- int i;
- float numbers[SIZE] = {0.0,1.1,2.2,3.3,4.4,5.5,6.6,7.7,8.8,9.9};
- float *nPtr = numbers;
- for(i=0; i<SIZE; i++){
- printf("%.1f\n", *(nPtr+i));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement