adspace
What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?
Answer Posted / sarmistha pattanaik
When we write C program in modular pattern, then generally
it consists of 3 parts, .h file which will contain all the
header info, main.c will contain the main function and one
more .c file which will contain all the function
definitions. In order to compile the two.c file it will
create object file with .o extention. It's a multi step
process. In order to avoid the steps, we can write all the
compiling statements in one file which is the makefile.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
write a program to find out prime number using sieve case?
How do you convert strings to numbers in C?
hi send me sample aptitude papers of cts?
What is dynamic dispatch in c++?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is pointer to pointer in c with example?
What are compound statements?
How do you determine the length of a string value that was stored in a variable?
Do you know the difference between malloc() and calloc() function?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
What is pointers in c with example?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What are pointers? What are different types of pointers?
write a progrmm in c language take user interface generate table using for loop?