answersLogoWhite

0

How do you run a C program on SunOS?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

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

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you run a C program on SunOS?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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.


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 c socket program?

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


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


Which Program that will run in C but not in C plus plus?

void main() { int *x = malloc(sizeof(int) * 10); }