question-how to run a c programme.

Answer Posted / sam

In case of unix
cc FileName.c to compile and the output would be in a file
to fetch it
type ./a.out

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are structures and unions? State differencves between them.

619


Do string constants represent numerical values?

925


What is meant by keywords in c?

618


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1358


What is the meaning of typedef struct in c?

594






What is the difference between ++a and a++?

695


What is static function in c?

635


What is string in c language?

627


Explain high-order and low-order bytes.

667


Explain what are compound statements?

605


What does typeof return in c?

640


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

634


What is a memory leak? How to avoid it?

577


What is main () in c?

588


What is a pointer in c?

683