[go: up one dir, main page]

0% found this document useful (0 votes)
86 views1 page

C Program Output Analysis

The program is an obfuscated C program that takes in a string as a parameter, extracts every other character into a new string, and recursively calls itself with different parameters to deobfuscate and print the string. It uses a switch statement to control the behavior based on the parameter, extracting characters in one case and calling itself with a hardcoded string in the default case to eventually print the deobfuscated message.

Uploaded by

Mrinal Agarwal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views1 page

C Program Output Analysis

The program is an obfuscated C program that takes in a string as a parameter, extracts every other character into a new string, and recursively calls itself with different parameters to deobfuscate and print the string. It uses a switch statement to control the behavior based on the parameter, extracting characters in one case and calling itself with a hardcoded string in the default case to eventually print the deobfuscated message.

Uploaded by

Mrinal Agarwal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

V3 Academy of Computer Science

#include <stdio.h>

#define THIS printf(


#define IS "%s\n"
#define OBFUSCATION ,v);

int main(c, v) char *v; int c; {


int a = 0; char f[32];
switch (c) {
case 0:
THIS IS OBFUSCATION
break;
case 34123:
for (a = 0; a < 13; a++) { f[a] =
v[a*2+1];};
main(0,f);
break;
default:
main(34123,"@h3eglhl1o. >w
%o#rtlwdl.S\0m");
break;
}
}

What is the output of this program?

www.V3academyCS.com +91-9871703397; info@v3academyCS.com

You might also like