Problem addition
User shashi93
Submission Time 2024-01-14 15:13:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:11:17: error: conversion from ‘int’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
11 | string answer = 'a + b';
| ^~~~~~~