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
Explain bitwise shift operators?
Why is extern used in c?
Here is a good puzzle: how do you write a program which produces its own source code as output?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
regarding pointers concept
Can a pointer be static?
What is a char c?
What does it mean when a pointer is used in an if statement?
Tell us bitwise shift operators?
What is 1d array in c?
What is static memory allocation? Explain
What is a spanning Tree?
What is c language and why we use it?
How to declare pointer variables?
How do we print only part of a string in c?