Answer Posted / kanimozhi91
Linux/Unix
* Pre-requisite : Before compiling check if gcc package is installed, if not install it either by using apt-get install/yum install based on the Linux kernel.
* Once installed, save the program as hello.c
* Compile it using gcc hello.c which will produce object file a.out
* Finally run it as ./a.out
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are qualifiers?
Can you subtract pointers from each other? Why would you?
Why is structure important for a child?
What is indirection? How many levels of pointers can you have?
How can you increase the allowable number of simultaneously open files?
how we can make 3d venturing graphics on outer interface
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
How is actual parameter different from the formal parameter?
Is c# a good language?
Why we write conio h in c?
What is the use of header?
What is struct node in c?
What are the 5 elements of structure?
Why & is used in scanf in c?
What is the use of c language in real life?