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 unions in c?

572


What language is windows 1.0 written?

571


What is meant by type specifiers?

657


What is c language in simple words?

588


Explain what is wrong with this statement? Myname = ?robin?;

990






Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

805


while initialization of array why we use a[][2] why not a[2][]...?

1861


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

1583


Can you please explain the difference between strcpy() and memcpy() function?

594


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

660


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1115


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

1589


Are there constructors in c?

588


What is the difference between fread and fwrite function?

634


What is variable declaration and definition in c?

495