Ada 2 perintah di dalam struktur data Stack yaitu push dan pop.
- algoritma push
- algoritma pop
void push(char a) {stk[hj]=a; hj++;}
char pop() {hj--; return(stk[hj]);}
Home » Struktur Data » Algoritma Stack
© 2010 unik dan menarik - All Rights Reserved
By Template Blogger - Converted by Belajar SEO Blogspot And Portal Berita
{ 0 komentar... Views All / Send Comment! }
Posting Komentar