#include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char* argv[]) { char str[10]; int v = 0; gets(str); printf("You typed: %s\n", str); printf("v: %d | %x\n", v, v); return 0; }
If you find our content useful and has helped you in the past, you can help the CodeVault community grow by becoming a CodeVault supporter