0
Question on array
#include<iostream> using namespace std; int main() { int sxpr; sxpr = 1|2|3|4; int array[5] = {1,2,4,3,10}; cout<<array[sxpr]; The output is 7 can someone explain how.??
2 Réponses
+ 2
its an garbage output
means your program has minor errors fix them and then u will get the required output
thanks for giving ur time :)
welcome!
bye!