April 2022 1 8 Report
Zadanie: daje najj c++
NSA poprosiła Cię o przetestowanie funkcji szyfrującej kody używane w armii. W ciele funkcji int test () wywołana jest funkcja encrypt( char code[12] ) szyfrująca wartości elementów tablicy code[12] i konwertująca je na jedną wartość typu int , którą funkcja ma zwrócić.
Zadeklaruj tablicę char code[12] oraz zainicjuj jej elementy kolejnymi znakami hasła "kill them all". Pomiń spacje. Niewykorzystane elementy tablicy zainicjuj wartością 0.

int encrypt( char str[] );

int test()
{
return 0;
}

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.