Hi,
I am working on a stack program and wanted to know that can we use "get function" with stack data structure?
eg if I have list of int numbers and I want to get these numbers before pushing these numbers on a stack. Can I use get function as:
int get(item);// function for geting item number/
"int item;" //variable for holding item number/
Also If I want a variable to hold more than 1 numbers, can I do this:
int num=1,4,7,8,10 ?
Regards,