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
Difference between Function to pointer and pointer to function
praagnovation
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
What is "Duff's Device"?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
Explain how can I convert a string to a number?
When should we use pointers in a c program?
Explain the advantages of using macro in c language?
What does volatile do?
Why c is called a middle level language?
Mention four important string handling functions in c languages .
Is it possible to have a function as a parameter in another function?
the question is that what you have been doing all these periods (one year gap)
What is the difference between break and continue?
How do you list a file’s date and time?