Ques 1 Array
What is the output of the following C++ Code?
#include <iostream> using namespace std; int main() { char str[] = {'a', 'b', 'c'}; cout << 1[str]; return 0; }
Ques 2 Array
What is the output of the following C++ Code?
#include <iostream> using namespace std; int main() { char str[] = {'a', 'b', 'c'}; cout << -1[str]; return 0; }