answersLogoWhite

0

How do you run a C program on SunOS?

User Avatar

Anonymous

15y ago
Updated: 8/17/2019

A "C" program has to be compiled to machine code on any Unix system, whether it is Solaris or some other version.

After compiling the program, execute it by typing in the name of the compiled program created by the "C" compiler. The standard name is 'a.out', but it could be named anything you want.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

When was SunOS created?

SunOS was created in 1982.


What is SunOS?

SunOS is the older version of Unix from Sun Microsystems that existed before Solaris.


What is execution with respect to c language?

Synonym for program-run.


Write Client and server program in C language using UDP?

Write and run a client and a server program in C-language using UDP


How do you run graphics program in C?

pro c language to implement linear search using pointers


Why there is one main function in c?

Because that's what is executed when you run the program.


Is it possible to immediately run your C plus plus program without compiling it?

No.


How run smaco program of system program in C language?

To run a system program in C using the system() function, you first need to include the stdlib.h header. You can then call system("command"), replacing "command" with the shell command you want to execute. For example, system("ls") will list the files in the current directory. Compile your program with a C compiler (like gcc), and then execute the compiled binary to run the command.


Can you run a C program in Unix?

Obviously. Unix is the original C platform. Also, the original A and B platform. :)


Why does sometimes when you run a program it will execute the previous program instead the current open program in C plus plus?

Because you aren't careful enough.


How do you run a program in c-language give me answer briefly?

First it needs compiled. The simplest way is to use the terminal and type gcc my_program.c Then to run your program type. ./a.out


How do you run a c socket program?

Platform-dependent, for example:Windows:C:\MYDIR> MYPROGRAMUnix:$ ./myprogram