Run C program on Android with Termux

 Run C Program on Android with Termux

  
    (1) Install Termux App 
               
                     Link 👉 Termux 
               
   (2) Open Termux App and Type below commands
 
                       $ pkg install clang
               
                   $ pkg install nano
 
    (3)   Write your C program type
 
                      $ nano filename.c
 
    (4)     Hello world program in C :
 
#include <stdio.h>
int main ()
 {printf("Hey Please Share More Link");
  return 0; }
  Press Ctrl+S save and Ctrl+X for exist text editor
           
          (5) Compile

  $ gcc filename.c -o myoutput
 
         (6) Run Program 
 
         $ ./ myoutput
 
visit it 👉 Run Kali linux in Android 
 

Post a Comment

0 Comments