Looking for Об'єктно-орієнтоване програмування test answers and solutions? Browse our comprehensive collection of verified answers for Об'єктно-орієнтоване програмування at moodle.old.gi.edu.ua.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
#include <iostream>int Show(int a){return 0;};int Show(int &b){return 1;};int main(int argc, char** argv) { std::cout<<Show(1); return 0;}
#include <iostream>using namespace std ;int add(int *a,int *b){ *a=*a+*b;return *a;}int main ( ){ int a=9; int b=5; add(&a,&b); cout<<a<<endl; cout<<b;return 0 ;}
#include <iostream>using namespace std;bool a=0;int c=-234;float g=0.6;int main(int argc, char** argv) {cout<<!bool(a+c+g);return 0;}
#include <iostream>using namespace std ;struct point {int x , y ;}a{1,2};int main ( ){cout<<a.x;return 0 ;}
#include <iostream>using namespace std;int main(){ cout << bool(-1)&&bool(0)&&1;}
#include "pch.h"#include <iostream>using namespace std;
int main(){ float z=1021, p; if ((1021 <= z) && (z < 1701)) { p = z*0; } else if (z >= 1701) { p =z*1; } cout << p;}
#include <iostream>using namespace std ;int main ( ){int i=0;i += 2 ; cout<<i;return 0 ;}