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 is page thrashing?
Can a void pointer point to a function?
What is a wrapper function in c?
When should the register modifier be used? Does it really help?
Why do we need a structure?
How can I pad a string to a known length?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
How many types of errors are there in c language? Explain
what type of questions arrive in interview over c programming?
How is actual parameter different from the formal parameter?
What is difference between far and near pointers?
What is a nested loop?
What is scope rule in c?
How can I prevent another program from modifying part of a file that I am modifying?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.