FUnneR

T5 ZAD 5

Nov 10th, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. /* T5 zadatak 5 - Šta ispisuje sledeći program? u komentarima */
  2.  
  3. #include <stdio.h>
  4. #include <string.h>
  5.  
  6. int main(){
  7.     static char ime[]="Bingo";
  8.     char *pok;
  9.     pok = ime+strlen(ime);
  10.     while(--pok>=ime){
  11.         puts(pok); 
  12.     }
  13.     // o
  14.     // go
  15.     // ngo
  16.     // ingo
  17.     // Bingo
  18.  
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment