Exactly similar questions have been asked for more than 6 times since 2018.
#include <iostream>using namespace std;int main(){int p;bool a = true;bool b = false;int x = 10;int y = 5;p = ((x | y) + (a + b));cout<<p;return 0;}
Python allows string slicing. What is the output of the code given below?s='acpbuzx ehicapo' print(s[3:5])
#include <iostream>using namespace std;int main(){int g = 8;int & aref = g;g++;cout << "Value is: " << aref;return 0;}
#include <iostream>using namespace std;int main(){int arr[] = {1, 2, 3, 4};int *g = (arr + 1);cout << *arr + 8;return 0;}