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


Please Help Members By Posting Answers For Below Questions

write a program to find out prime number using sieve case?

2176


How do you convert strings to numbers in C?

1346


hi send me sample aptitude papers of cts?

2252


What is dynamic dispatch in c++?

1140


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2740


What is pointer to pointer in c with example?

1200


What are compound statements?

1292


How do you determine the length of a string value that was stored in a variable?

1205


Do you know the difference between malloc() and calloc() function?

1135


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2260


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.

5449


What is pointers in c with example?

1169


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1297


What are pointers? What are different types of pointers?

1266


write a progrmm in c language take user interface generate table using for loop?

2124