How the C program can be compiled?

Answer Posted / babu

In Linux $cc <filename.c>

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

600


What are type modifiers in c?

603


What are linker error?

604


What does != Mean in c?

575


Why do we use int main?

590






What is the difference between char array and char pointer?

517


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

738


Why enum is used in c?

509


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1834


When should we use pointers in a c program?

614


What is the process to generate random numbers in c programming language?

596


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

762


Define Spanning-Tree Protocol (STP)

632


What are register variables? What are the advantage of using register variables?

666


Explain the binary height balanced tree?

708