How to get the output 0X33 not 0X334 ? (gcc compiler)
code:
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
int arr[256] = {1,0x23,0x6C,0x1,0x2};
string leg1 = "324856789";
int leg2 = leg1.length();
for (int...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.